Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.10ms] Passed 4 tests
Analyzing server-side resources used by q-invoice Sisow iDeal for Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.00 ▼3.83 |
Dashboard /wp-admin | 3.31 ▼0.03 | 52.18 ▼5.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.95 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.23 ▼8.28 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.42 ▼2.51 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for q-invoice Sisow iDeal for Gravity Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.59 ▼0.06 | 38.53 ▼0.31 |
Dashboard /wp-admin | 2,192 ▲17 | 5.56 ▼0.18 | 81.98 ▼16.79 | 34.53 ▼5.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.02 | 33.77 ▲0.51 | 32.43 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.89 ▼0.40 | 620.00 ▼60.34 | 49.05 ▼3.84 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.01 | 95.26 ▼0.43 | 41.04 ▼1.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/qinvoice-sisow-ideal-for-gravity-forms/class-qinvoice-sisow.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/qinvoice-sisow-ideal-for-gravity-forms/qinvoice-sisow-ideal-for-gravity-forms.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: "n/a"
qinvoice-sisow-ideal-for-gravity-forms/qinvoice-sisow-ideal-for-gravity-forms.php Passed 13 tests
Analyzing the main PHP file in "q-invoice Sisow iDeal for Gravity Forms" version 0.0.1
70 characters long description:
Accept iDeal (and other) payments through Sisow for your Gravity Forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin691 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 139 | 57 | 645 |
PO File | 1 | 12 | 13 | 46 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 22.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.13 |
▷ 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 | 30 | |
▷ Static methods | 4 | 13.33% |
▷ Public methods | 20 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 33.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin