Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.03ms] Passed 4 tests
Analyzing server-side resources used by Progress Bar for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 35.01 ▼6.96 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.71 ▼4.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.60 ▼3.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.56 ▼9.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.65 ▲4.09 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Progress Bar for Contact Form 7: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.22 ▼1.17 | 2.21 ▲0.38 | 41.08 ▼2.43 |
Dashboard /wp-admin | 2,206 ▲21 | 5.91 ▲1.01 | 107.22 ▲4.11 | 42.27 ▲0.03 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.01 | 39.16 ▼3.41 | 34.45 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 18.37 ▲0.62 | 599.88 ▼11.62 | 49.58 ▲2.09 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▲0.03 | 100.29 ▲4.76 | 42.88 ▼0.61 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cf7-progress-bar/includes/wpcf7apb.php
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cf7-progress-bar/includes/wpcf7apb.php on line 5
- > PHP Notice
Undefined variable: atts in wp-content/plugins/cf7-progress-bar/includes/wpcf7apb.php on line 9
- > PHP Notice
Undefined variable: atts in wp-content/plugins/cf7-progress-bar/includes/wpcf7apb.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cf7-progress-bar/includes/wpcf7apb.php on line 9
- > PHP Notice
Undefined variable: atts in wp-content/plugins/cf7-progress-bar/includes/wpcf7apb.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cf7-progress-bar/includes/wpcf7apb.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2 in cf7-progress-bar/assets to your readme.txt
cf7-progress-bar/cf7-progress-bar.php 92% from 13 tests
The main PHP file in "Progress Bar for Contact Form 7" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin62 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 13 | 14 | 50 |
CSS | 1 | 1 | 3 | 11 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 4 | 80.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
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
PNG images were not found in this plugin