Billing FAQ

Last updated: Nov 9, 2026


Why does a former employee appear on the billing list?

These are some possible causes:

  • Their commits come into the branch that the platform analyzes at a later time.
  • The analyzed branch is not the primary branch, and someone added it to the platform later. Thus, the commits of the branches are different.
  • The repository was empty when someone registered it, and later merges added branches with existing commits.

Can Fluid Attacks restrict the number of authors permitted to make commits to a repository?

No. Only the repository administrator can configure repository management policies, and these policies are different on each platform.

Which users have permission to access the monthly author count or list?

Group Managers, Vulnerability Managers (groups), and Users (groups).

Does Fluid Attacks charge an author twice if they commit to repositories in different groups?

No. The developer can make unlimited commits in all the repositories or groups that they want, and Fluid Attacks bills them only one time. If an author contributes to more than one group, Fluid Attacks divides the charge equally among all these groups.

Can Fluid Attacks bill an author twice because of multi-branch support?

Yes. When you register a repository on more than one branch, Fluid Attacks bills each branch independently for the month in which it sees the commits as merged. Thus, if the same author makes changes that reach different branches in different months, Fluid Attacks can bill that author two times.

Does Fluid Attacks charge an author who commits to excluded paths?

No. Fluid Attacks only charges for the authors who contribute to files in paths that are in the testing scope.

How can I count the number of authors in Git repositories?

Fluid Attacks gives a Python script to count the authors in one or more Git repositories. The script lists the contributors and their number of commits in a given date range. It can also put together the data of more than one subfolder and normalize identities with a .mailmap file, if necessary.

Script workflow:

  1. Determines the date range based on the arguments (-m or -b).
  2. Gets the relevant commits between the first and the last day of the date range.
  3. Uses git-shortlog to count contributions.
  4. Applies the .mailmap file to unify aliases or duplicates.
  5. Generates a report sorted by the number of commits.

Check requirements:

Before you run the script, make sure that you have these items:

  • Python 3 installed (check by running python3 --version)
  • Git installed (check by running git --version)
  • A .mailmap file (read Create the .mailmap file below)
  • Local clones of the repositories you want to analyze

Create the .mailmap file:

The script must have a .mailmap file, which you make. This text file connects the different names and emails of one person to one identity. Without it, the script counts a person who uses two emails as two authors. This applies only to the count of the script. Before billing, Fluid Attacks examines the author list and removes the duplicate authors.

To see the names and emails of a repository as Git recorded them, run this command in the folder of the repository:

git log --format='%an <%ae>' | sort -u

In the .mailmap file, first write the identity that you want to keep on its own line. Then, write one line for each alias: first the identity that you want to keep, and then the alias.

The first line gives one name to all the commits of the email that you keep. If one email has commits with different names, you must add this line.

You can keep the .mailmap file in a different folder from the repositories. If you do not have to connect identities, you can use an empty file. Then, the script marks each author as (NOT IN MAILMAP). This is not an error.

Download the script:

Download the script. Then save it in your working directory as scripts/Get_Authors.py.

Run the script:

python3 scripts/Get_Authors.py -m 2023-05 test .mailmap

These are the arguments of the script:

  • test: The path to the folder that has the repository or repositories.
  • .mailmap: The path to your .mailmap file.
  • -m YYYY-MM (optional): Counts the authors in a specific month (for example, 2023-05).
  • -b YYYY-MM-DD YYYY-MM-DD (optional): An alternative to -m YYYY-MM that specifies a custom date range.
  • -u (optional): Does not count subfolders. By default, the script scans subfolders.

Output example:

Authors of the repositories test between 01 May 2023 and 31 May 2023:
Commits     Author
42          Alice <[email protected]>
36          Bob <[email protected]> (NOT IN MAILMAP)
...
Total Authors = 12

If the .mailmap file does not have an email, the script marks it as '(NOT IN MAILMAP)'.

If the script shows an error about symbolic links:

Earlier versions of the script show this error with Git 2.32 or a more recent version:

error: unable to open mailmap at .mailmap: Too many levels of symbolic links

With this error, the script does not use your .mailmap file. Download the script again from the link above.

Earlier versions of the script can also leave a .mailmap symbolic link in the repository. Delete this link. If the link stays, the command below shows the same error message, but it still uses your .mailmap file.

You can also count the authors of one repository directly with Git:

git -C /path/to/repository \
  -c mailmap.file=/path/to/.mailmap \
  shortlog -sne --no-merges \
  --since='2023-05-01 00:00:00' --until='2023-05-31 23:59:59' HEAD

How can I count the lines of code for Health Check?

Fluid Attacks gives a script to count the effective lines of code (LoC) in your repositories. With it, you can verify the cost of Health Check yourself. This script uses tokei and excludes the files that are not relevant to the analysis, such as documentation and styling files.

Analyzed files:

The script runs tokei with the Fluid Attacks language definitions and excludes these non-code languages:

  • Documentation: Markdown
  • Styling: CSS, SASS, LESS, Stylus
  • Format/config files: JSON, XML, XAML

Check requirements:

Before you run the script, make sure that you have these items:

  • Python, version 3 recommended (check by running python3 --version)
  • The tokei tool, installed and available in your system path

Use the script:

  1. Download the script file.

  2. In your terminal, run the script on your project folder:

    python3 scripts/Count_LoC.py /path/to/project

Then you see the LoC report, and after it, this message:

Excluded: Markdown,CSS,SASS,LESS,Stylus,JSON,XML,XAML
Using special FLUID Configuration

This message means that the script excluded the non-code files and applied the Fluid Attacks standard.

How are lines counted for a late Health Check?

If you have the Advanced plan and request a Health Check later, Fluid Attacks counts the lines per repository. The count starts from the first successful clone that had at least one file other than a 'README' file.

To get the state of the repository at a past date, Fluid Attacks does these steps:

  1. Clone the repository:

    git clone <repo-url>
    cd <repo-name>
  2. Find the latest commit before a specific date:

    git rev-list -n 1 --before="2024-03-01 23:59" master

    For example, this command returns the most recent commit hash before March 1, 2024 in the master branch.

  3. Go to that commit with git checkout:

    git checkout <commit-hash>

    This puts the repository in 'detached HEAD' mode, which is useful for historical analysis.

How are lines counted for a Health Check after changing plans?

If you need a Health Check when you subscribe again to the Advanced plan, these rules apply:

  • If the repository never had a Health Check, Fluid Attacks counts all the lines of code at the moment of the new subscription.
  • If the repository had a Health Check, Fluid Attacks counts the lines of the files that changed after the move to the Essential plan.

On this page