Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.77ms] Passed 4 tests
Server-side resources used by Contact Form to Agile
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.58 ▼1.76 |
Dashboard /wp-admin | 3.38 ▲0.03 | 44.26 ▼14.06 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.73 ▼5.52 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.60 ▼5.75 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.29 ▲0.47 |
Contact Form to Agile /wp-admin/options-general.php?page=cf2agile | 3.26 | 33.01 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form to Agile
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.73 ▲0.44 | 1.67 ▼0.20 | 39.61 ▼3.42 |
Dashboard /wp-admin | 2,210 ▲19 | 5.86 ▼0.03 | 98.74 ▼3.84 | 38.43 ▼1.75 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▼0.01 | 39.17 ▲3.44 | 35.12 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,523 ▲4 | 23.52 ▲2.30 | 670.26 ▼15.67 | 56.75 ▼4.47 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.21 ▼0.03 | 103.00 ▲6.27 | 45.75 ▲1.20 |
Contact Form to Agile /wp-admin/options-general.php?page=cf2agile | 883 | 2.02 | 26.02 | 27.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'cf2Agile_Field' not found in wp-content/plugins/cf2agile/fields/cf2agile_Field_CompanyName.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf2agile/cf2agile.php:20
- > PHP Fatal error
Uncaught Error: Class 'cf2Agile_Field' not found in wp-content/plugins/cf2agile/fields/cf2agile_Field_CustomerEmail.php:3
- > PHP Fatal error
Uncaught Error: Class 'cf2Agile_Field' not found in wp-content/plugins/cf2agile/fields/cf2agile_Field_Budget.php:3
- > PHP Fatal error
Uncaught Error: Class 'cf2Agile_Field' not found in wp-content/plugins/cf2agile/fields/cf2agile_Field_ProjectName.php:3
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: active collab, agile, activecollab, contact form
cf2agile/cf2agile.php 92% from 13 tests
The primary PHP file in "Contact Form to Agile" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 177 characters long)
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
No dangerous file extensions were detected758 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 196 | 156 | 758 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 33 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin