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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.93ms] Passed 4 tests
An overview of server-side resources used by VisualMods Inline
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.45 ▼15.38 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.85 ▲2.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 55.43 ▲12.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.96 ▼10.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.20 ▲3.21 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for VisualMods Inline
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.75 ▲0.10 | 1.99 ▼0.01 | 44.32 ▼27.01 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▲0.00 | 97.79 ▼2.89 | 38.25 ▼7.23 |
Posts /wp-admin/edit.php | 2,089 ▲21 | 1.96 ▼0.05 | 40.01 ▲2.73 | 35.77 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,388 ▼145 | 16.78 ▼6.26 | 582.34 ▼97.34 | 32.05 ▼16.72 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.02 | 98.10 ▼5.48 | 43.33 ▼3.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/visualmods-inline/visualmods-inline.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
visualmods-inline/visualmods-inline.php Passed 13 tests
"VisualMods Inline" version 1.03's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
38 characters long description:
Adds easy inline styling tools to mce.
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
Success! There were no dangerous files found in this plugin932 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 76 | 16 | 492 |
PHP | 1 | 38 | 11 | 314 |
CSS | 1 | 3 | 1 | 126 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
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 | 13 | |
▷ Named functions | 13 | 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
26 PNG files occupy 0.27MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cell-text-bg.png | 10.19KB | 5.02KB | ▼ 50.74% |
images/ArrowQuad.png | 29.58KB | 11.48KB | ▼ 61.19% |
images/bluetopright.png | 4.66KB | 3.44KB | ▼ 26.27% |
images/tango-generic-image.png | 23.95KB | 10.31KB | ▼ 56.94% |
images/css.png | 0.82KB | 1.03KB | 0.00% |