Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.72ms] Passed 4 tests
Analyzing server-side resources used by CF7 Skins for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.28 ▲0.76 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.90 ▼18.53 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.34 ▼3.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.34 ▼20.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.96 ▼4.90 |
Server storage [IO: ▲5.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 172 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
cf7skins_activated |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for CF7 Skins 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,800 ▲54 | 14.22 ▼0.13 | 1.72 ▲0.05 | 44.20 ▲1.39 |
Dashboard /wp-admin | 2,206 ▲32 | 5.56 ▼0.00 | 83.22 ▼17.30 | 39.81 ▼7.67 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 1.95 ▼0.11 | 34.19 ▼2.84 | 33.55 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,539 ▲2 | 23.33 ▲5.07 | 634.85 ▼18.07 | 53.62 ▼14.73 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.20 ▼0.14 | 95.61 ▼31.50 | 42.87 ▼8.09 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- cf7skins_activated
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 26× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CF7_Skins_Admin' not found in wp-content/plugins/contact-form-7-skins/includes/tab.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/contact-form-7-skins/skins/templates/fieldset-basic/fieldset-basic.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/contact-form-7-skins/skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/contact-form-7-skins/includes/cf7-connect.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/contact-form-7-skins/skins/templates/contact/contact.php:15
- > PHP Fatal error
Uncaught Error: Class 'CF7_Skin' not found in wp-content/plugins/contact-form-7-skins/includes/template.php:11
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/contact-form-7-skins/includes/admin-notice.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/contact-form-7-skins/skins/templates/fieldset-multiple/fieldset-multiple.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/contact-form-7-skins/skins/templates/testimonial/testimonial.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/contact-form-7-skins/includes/front-visual.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: contact form 7 addon, contact form, contact form 7 theme, contact form 7 style, contact form 7
contact-form-7-skins/index.php 92% from 13 tests
The principal PHP file in "CF7 Skins for Contact Form 7" v. 2.6.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("contact-form-7-skins.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin16,986 lines of code in 86 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 28 | 1,777 | 1,535 | 7,132 |
PHP | 30 | 865 | 1,833 | 3,404 |
PO File | 4 | 1,146 | 1,583 | 2,591 |
JSON | 12 | 0 | 0 | 1,881 |
SVG | 1 | 0 | 0 | 1,180 |
JavaScript | 11 | 92 | 77 | 798 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 40.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 5.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 11 | 9.40% |
▷ Public methods | 114 | 97.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.56% |
Functions | 11 | |
▷ Named functions | 9 | 81.82% |
▷ Anonymous functions | 2 | 18.18% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
72 PNG files occupy 2.52MB with 1.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/styles/solar/thumbnail.png | 28.46KB | 9.30KB | ▼ 67.33% |
skins/templates/contact/modal.png | 16.14KB | 6.90KB | ▼ 57.25% |
skins/styles/golden-brown/modal.png | 70.14KB | 24.49KB | ▼ 65.08% |
skins/styles/strawberry/modal.png | 60.89KB | 22.54KB | ▼ 62.97% |
skins/templates/registration/thumbnail.png | 22.42KB | 7.64KB | ▼ 65.92% |