Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼151.00ms] Passed 4 tests
Analyzing server-side resources used by Transactium Gravity Forms AddOn
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 29.05 ▲3.83 |
Dashboard /wp-admin | 3.06 ▼0.00 | 34.01 ▼6.26 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 35.84 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 71.72 ▼599.38 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 24.07 ▼1.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Transactium Gravity Forms AddOn
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.66 ▲0.26 | 4.99 ▼4.78 | 76.35 ▲0.82 |
Dashboard /wp-admin | 2,930 ▲37 | 6.10 ▼0.06 | 112.68 ▼17.73 | 167.74 ▼9.23 |
Posts /wp-admin/edit.php | 2,740 ▼3 | 3.36 ▲0.12 | 61.78 ▲0.75 | 137.07 ▼0.17 |
Add New Post /wp-admin/post-new.php | 3,728 ▼15 | 18.41 ▼0.84 | 404.06 ▼41.78 | 154.33 ▼16.34 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.49 ▲0.00 | 158.62 ▲19.36 | 194.55 ▲10.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/transactium-gravity-forms-addon/class-transactium-gf-addon.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/transactium-gravity-forms-addon/transactium.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add a description for screenshot #10 in transactium-gravity-forms-addon/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
transactium-gravity-forms-addon/transactium.php 92% from 13 tests
The main file in "Transactium Gravity Forms AddOn" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("transactium-gravity-forms-addon.php" instead of "transactium.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected593 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 156 | 67 | 593 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 31.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 12 | 50.00% |
▷ Public methods | 21 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 12.50% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin