Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.72ms] Passed 4 tests
Analyzing server-side resources used by Serial Number for Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.52 ▲1.43 |
Dashboard /wp-admin | 3.44 ▲0.13 | 50.83 ▼1.86 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.43 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 87.44 ▼5.93 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 41.87 ▼0.50 |
Serial Number Settings /wp-admin/admin.php?page=nt-wpcf7sn | 3.27 | 39.26 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
nt_wpcf7sn_conf |
Browser metrics Passed 4 tests
Checking browser requirements for Serial Number for Contact Form 7
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 14.35 ▼0.40 | 1.81 ▼0.44 | 43.57 ▼1.29 |
Dashboard /wp-admin | 2,215 ▲38 | 5.64 ▼0.05 | 92.65 ▲2.51 | 38.74 ▼6.64 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.99 ▼0.03 | 36.24 ▼1.76 | 38.28 ▲5.33 |
Add New Post /wp-admin/post-new.php | 1,389 ▼149 | 17.49 ▼5.59 | 602.16 ▼34.37 | 35.15 ▼16.17 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.16 ▲0.03 | 99.67 ▼14.03 | 39.99 ▼2.54 |
Serial Number Settings /wp-admin/admin.php?page=nt-wpcf7sn | 802 | 2.00 | 24.89 | 28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were 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:
- Screenshots: Please add descriptions for these screenshots #2, #3 in serial-number-for-contact-form-7/assets to your readme.txt
serial-number-for-contact-form-7/wpcf7-serial-number.php 85% from 13 tests
The principal PHP file in "Serial Number for Contact Form 7" v. 2.4.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("serial-number-for-contact-form-7.php" instead of "wpcf7-serial-number.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
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
Good job! No executable or dangerous file extensions detected3,507 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 1,209 | 2,375 | 3,041 |
CSS | 2 | 143 | 129 | 440 |
JavaScript | 1 | 4 | 9 | 26 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 23.77 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 160.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 152 | |
▷ Static methods | 85 | 55.92% |
▷ Public methods | 67 | 44.08% |
▷ Protected methods | 39 | 25.66% |
▷ Private methods | 46 | 30.26% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 41 | |
▷ Global constants | 30 | 73.17% |
▷ Class constants | 11 | 26.83% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin