Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.41ms] Passed 4 tests
Analyzing server-side resources used by GetResponse Add-On for FormCraft
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.71 ▼6.85 |
Dashboard /wp-admin | 3.31 ▲0.01 | 40.10 ▼11.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.61 ▼3.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 77.88 ▼19.09 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.28 ▲0.98 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for GetResponse Add-On for FormCraft
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.09 | 1.72 ▼0.09 | 35.91 ▼9.36 |
Dashboard /wp-admin | 2,206 ▲21 | 4.87 ▲0.00 | 111.99 ▲7.96 | 48.41 ▲7.81 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.05 | 40.54 ▲4.02 | 36.31 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.07 ▼0.31 | 664.54 ▼8.78 | 69.59 ▲17.44 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.19 ▼0.04 | 97.28 ▼4.44 | 43.92 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/getresponse-for-formcraft/formcraft-getresponse.php:19
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/getresponse-for-formcraft/formcraft-getresponse.php on line 15
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/getresponse-for-formcraft/formcraft-getresponse.php on line 16
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/getresponse-for-formcraft/formcraft-getresponse.php on line 14
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/getresponse-for-formcraft/formcraft-getresponse.php on line 17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
getresponse-for-formcraft/formcraft-getresponse.php 85% from 13 tests
The main PHP file in "GetResponse Add-On for FormCraft" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("getresponse-for-formcraft.php" instead of "formcraft-getresponse.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected798 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 111 | 468 | 685 |
JavaScript | 1 | 0 | 0 | 85 |
CSS | 1 | 0 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 100 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 92 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 8.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 3.68KB | 2.69KB | ▼ 27.02% |