Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.84MB] [CPU: ▼35.64ms] Passed 4 tests
Analyzing server-side resources used by Custom Skins Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.62 ▼1.30 |
Dashboard /wp-admin | 3.10 ▼0.20 | 27.70 ▼22.11 |
Posts /wp-admin/edit.php | 3.10 ▼0.25 | 23.85 ▼25.89 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.78 | 24.00 ▼77.71 |
Media Library /wp-admin/upload.php | 3.10 ▼0.13 | 22.03 ▼16.85 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
cf7cs |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Skins Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.28 ▼0.09 | 1.70 ▼0.23 | 40.10 ▼6.86 |
Dashboard /wp-admin | 2,204 ▲27 | 5.48 ▼0.12 | 90.39 ▼3.95 | 43.07 ▲3.33 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 1.99 ▼0.01 | 38.54 ▲4.19 | 45.88 ▲10.69 |
Add New Post /wp-admin/post-new.php | 1,437 ▼89 | 22.31 ▼1.20 | 598.00 ▼80.19 | 56.50 ▲0.41 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.10 | 98.32 ▼19.31 | 41.43 ▼7.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/custom-skins-contact-form-7/custom-skins-contact-form-7.php+88
Use of undefined constant WPCF7_PLUGIN_BASENAME - assumed 'WPCF7_PLUGIN_BASENAME' (this will throw an Error in a future version of PHP)
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- cf7cs
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/custom-skins-contact-form-7/js/cf7csjs.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/custom-skins-contact-form-7/custom-skins-contact-form-7.php:40
- > PHP Warning
Use of undefined constant CF7CS_PLUGIN_URI - assumed 'CF7CS_PLUGIN_URI' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-skins-contact-form-7/structure.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/custom-skins-contact-form-7/structure.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Tags: You are using too many tags: 12 tag instead of maximum 10
custom-skins-contact-form-7/custom-skins-contact-form-7.php Passed 13 tests
The main PHP file in "Custom Skins Contact Form 7" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
54 characters long description:
This Plugin for Customization of Contact Form 7 skins.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,503 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 16 | 41 | 1,464 |
CSS | 1 | 0 | 0 | 39 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/done.png | 1.44KB | 0.56KB | ▼ 61.30% |