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.04MB] [CPU: ▼7.21ms] Passed 4 tests
This is a short check of server-side resources used by Integrate Contact Form 7 with TheChecker.co
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 26.39 ▼16.19 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.37 ▼5.16 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 54.25 ▼1.98 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.39 ▼5.51 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 44.28 ▲6.29 |
TheChecker.co CF7 /wp-admin/themes.php?page=jcz_thechecker | 3.23 | 30.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Integrate Contact Form 7 with TheChecker.co
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.14 ▼0.22 | 1.88 ▲0.24 | 43.09 ▼10.16 |
Dashboard /wp-admin | 2,202 ▲22 | 5.59 ▼0.05 | 90.51 ▼2.86 | 42.24 ▼1.52 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.95 ▼0.03 | 38.87 ▼0.31 | 35.75 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,536 ▲9 | 22.68 ▼0.49 | 638.25 ▼64.77 | 52.03 ▼5.79 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.02 | 110.15 ▲3.51 | 47.12 ▼0.47 |
TheChecker.co CF7 /wp-admin/themes.php?page=jcz_thechecker | 822 | 1.99 | 24.28 | 24.59 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/themes.php?page=jcz_thechecker
- > Notice in wp-content/plugins/integrate-cf7-thecheckerco/thechecker.php+305
Trying to access array offset on value of type bool
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 fix the following items
- 1× 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/integrate-cf7-thecheckerco/thechecker.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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:
- Screenshots: Please add images for these screenshots: #1 (Example Form), #2 (Options Panel), #3 (Contact Form 7 form edit)
integrate-cf7-thecheckerco/thechecker.php 92% from 13 tests
"Integrate Contact Form 7 with TheChecker.co" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integrate-cf7-thecheckerco.php" instead of "thechecker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin243 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 90 | 11 | 243 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pr_pk.PNG | 10.72KB | 6.27KB | ▼ 41.49% |