Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.41ms] Passed 4 tests
Analyzing server-side resources used by WhatConverts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.91 ▼8.56 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.02 ▼14.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.01 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.93 ▼16.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 32.44 ▼0.98 |
WhatConverts /wp-admin/options-general.php?page=whatconverts | 3.21 | 30.78 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
whatconverts_profile_id |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
whatconverts_footer_load |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WhatConverts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.26 ▼1.12 | 1.64 ▼0.16 | 41.47 ▼2.37 |
Dashboard /wp-admin | 2,207 ▲19 | 5.86 ▲1.00 | 108.71 ▼6.55 | 38.45 ▼6.43 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▼0.06 | 38.70 ▲1.97 | 33.82 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.30 ▼0.04 | 623.57 ▼57.30 | 54.89 ▼8.50 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.25 ▲0.07 | 97.73 ▼3.79 | 42.25 ▼3.57 |
WhatConverts /wp-admin/options-general.php?page=whatconverts | 813 | 2.03 | 23.59 | 25.81 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- whatconverts_profile_id
- whatconverts_footer_load
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/whatconverts/options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/whatconverts/whatconverts.php:52
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: adwords call tracking, call tracking, goal tracking, whatconverts, cro...
whatconverts/whatconverts.php 92% from 13 tests
Analyzing the main PHP file in "WhatConverts" version 1.0.6
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 238 characters long)
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
Everything looks great! No dangerous files found in this plugin61 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 11 | 61 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 9.81KB | 4.53KB | ▼ 53.85% |
screenshot-2.png | 42.79KB | 15.62KB | ▼ 63.49% |