Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.35ms] Passed 4 tests
Analyzing server-side resources used by CF7 Additional Types
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 34.94 ▼6.29 |
Dashboard /wp-admin | 3.41 ▲0.10 | 44.86 ▼0.73 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.44 ▼5.24 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 88.69 ▼9.14 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.15 ▲2.00 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by CF7 Additional Types
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.40 ▼0.98 | 1.69 ▼0.09 | 37.33 ▼6.79 |
Dashboard /wp-admin | 2,212 ▲24 | 4.88 ▼0.04 | 112.11 ▲7.15 | 42.28 ▲0.08 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.02 ▼0.02 | 39.40 ▲0.15 | 35.91 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 18.22 ▼4.83 | 607.70 ▼1.35 | 63.13 ▲5.29 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.23 ▼0.02 | 99.52 ▲5.51 | 42.67 ▲2.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: There are too many tags (12 tag instead of maximum 10)
cf7-additional-types/cf7-additional-types.php Passed 13 tests
"CF7 Additional Types" version 2.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
48 characters long description:
Additional input field types for Contact Form 7.
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
Everything looks great! No dangerous files found in this plugin1,453 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 17 | 329 | 556 |
PHP | 3 | 106 | 47 | 455 |
CSS | 2 | 43 | 24 | 358 |
PO File | 2 | 12 | 14 | 84 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 3 | 100.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 17.39% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.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