Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.83ms] Passed 4 tests
This is a short check of server-side resources used by Convert Experiences
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 40.49 ▼2.56 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.30 ▼2.55 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.75 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.41 ▼5.45 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.34 ▲3.26 |
Convert Experiments Configuration /wp-admin/options-general.php?page=convert-experiences | 3.25 | 31.11 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
convert_experiments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Convert Experiences: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.32 ▼1.09 | 4.78 ▲3.06 | 43.79 ▼5.79 |
Dashboard /wp-admin | 2,216 ▲28 | 5.86 ▲0.98 | 112.43 ▼3.29 | 44.66 ▼2.37 |
Posts /wp-admin/edit.php | 2,101 ▲15 | 1.97 ▼0.01 | 33.89 ▼2.69 | 35.41 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,554 ▲35 | 18.58 ▼4.39 | 584.65 ▼83.95 | 48.27 ▼18.19 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.29 ▲0.06 | 99.33 ▼2.80 | 42.88 ▲0.78 |
Convert Experiments Configuration /wp-admin/options-general.php?page=convert-experiences | 839 | 2.05 | 25.78 | 33.32 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- convert_experiments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/convert-experiments/convert-experiments.php:123
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in convert-experiments/assets to your readme.txt
convert-experiments/convert-experiments.php Passed 13 tests
"Convert Experiences" version 3.1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
70 characters long description:
Convert Experiences provides A/B and Multivariate Testing for Experts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin250 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 98 | 153 | 240 |
CSS | 1 | 1 | 0 | 10 |
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.34 |
Average class complexity | 6.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 3 | 12.50% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.83% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.48MB with 0.32MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 311.17KB | 111.38KB | ▼ 64.21% |
assets/images/convert-project-id.png | 177.31KB | 54.12KB | ▼ 69.48% |