Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.89ms] Passed 4 tests
A check of server-side resources used by Modify Visual Editor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.74 ▼4.94 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.26 ▼2.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.87 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.73 ▼8.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.08 ▲0.78 |
Server storage [IO: ▲0.12MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
mvedASelect |
mvedCSelect |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Modify Visual Editor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.34 ▼0.97 | 4.57 ▲2.94 | 42.57 ▼0.17 |
Dashboard /wp-admin | 2,224 ▲33 | 5.84 ▲0.97 | 106.10 ▼0.19 | 37.23 ▼6.90 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.02 ▼0.03 | 36.72 ▼5.17 | 34.44 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 18.41 ▼4.73 | 603.66 ▼13.71 | 43.88 ▼15.86 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.20 ▼0.02 | 94.34 ▼3.79 | 42.74 ▼1.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- mvedASelect
- theysaidso_admin_options
- widget_recent-posts
- mvedCSelect
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in modify-visual-editor/assets to your readme.txt
- Contributors: Plugin contributors field is missing
modify-visual-editor/modify-visual-editor.php 85% from 13 tests
"Modify Visual Editor" version 0.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 218 characters long)
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
No dangerous file extensions were detected360 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 78 | 115 | 327 |
CSS | 1 | 3 | 5 | 18 |
PO File | 1 | 2 | 3 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
6 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 21.97KB | 22.37KB | 0.00% |
assets/tswlogo.png | 14.79KB | 7.47KB | ▼ 49.51% |
assets/icon128x128.png | 9.39KB | 4.00KB | ▼ 57.46% |
assets/screenshot-4.png | 13.00KB | 5.99KB | ▼ 53.89% |
assets/screenshot-3.png | 37.66KB | 14.86KB | ▼ 60.55% |