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 gracefully, with no errors
Server metrics [RAM: ▲0.45MB] [CPU: ▼2.33ms] Passed 4 tests
Analyzing server-side resources used by MaxBoxy: Make WordPress Floating Content, Popup, Alert Bar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 48.57 ▲8.88 |
Dashboard /wp-admin | 3.77 ▲0.42 | 53.86 ▼3.67 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 49.68 ▲2.17 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.65 | 86.80 ▼13.15 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 38.12 ▲5.33 |
Panels: InjectAny /wp-admin/edit.php?post_type=inject_any | 3.77 | 43.52 |
Panels: FloatAny /wp-admin/edit.php?post_type=float_any | 3.77 | 40.88 |
/wp-admin/admin.php?page=maxboxy-settings | 3.63 | 36.13 |
Manage Tags /wp-admin/edit-tags.php?taxonomy=maxboxy_tag | 3.79 | 37.96 |
/wp-admin/admin.php?page=maxboxy-settings&page= | 3.51 | 29.35 |
Manage Categories /wp-admin/edit-tags.php?taxonomy=maxboxy_cat | 3.63 | 34.00 |
Server storage [IO: ▲2.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 239 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
_maxboxy_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by MaxBoxy: Make WordPress Floating Content, Popup, Alert Bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲172 | 13.46 ▼0.85 | 9.81 ▲8.18 | 42.35 ▲0.40 |
Dashboard /wp-admin | 2,242 ▲62 | 5.70 ▲0.05 | 91.82 ▼0.05 | 39.66 ▲0.52 |
Posts /wp-admin/edit.php | 2,150 ▲47 | 2.05 ▲0.08 | 36.05 ▼5.13 | 34.41 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 23.80 ▲0.81 | 685.08 ▲27.28 | 53.33 ▼6.27 |
Media Library /wp-admin/upload.php | 1,450 ▲53 | 4.28 ▲0.08 | 99.39 ▼2.20 | 42.29 ▼2.00 |
Panels: InjectAny /wp-admin/edit.php?post_type=inject_any | 1,325 | 3.80 | 53.54 | 28.64 |
Panels: FloatAny /wp-admin/edit.php?post_type=float_any | 1,326 | 3.80 | 54.17 | 28.13 |
/wp-admin/admin.php?page=maxboxy-settings | 1,389 | 3.91 | 66.29 | 48.26 |
Manage Tags /wp-admin/edit-tags.php?taxonomy=maxboxy_tag | 1,314 | 2.23 | 28.55 | 28.69 |
/wp-admin/admin.php?page=maxboxy-settings&page= | 28 | 0.41 | 0.09 | 3.54 |
Manage Categories /wp-admin/edit-tags.php?taxonomy=maxboxy_cat | 1,339 | 2.23 | 28.91 | 25.61 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- _maxboxy_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=maxboxy-settings&page=
- > Network (severe)
wp-admin/admin.php?page=maxboxy-settings&page= - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: content box, popup, floating menu, notifications, alerts...
maxboxy/maxboxy.php Passed 13 tests
The main PHP script in "MaxBoxy: Make WordPress Floating Content, Popup, Alert Bar" version 1.1.2 is automatically included on every request by WordPress
54 characters long description:
Conversion Boxes, Popups, Float and Inject Any Content
Code Analysis 97% from 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 plugin44,218 lines of code in 162 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 100 | 4,328 | 2,377 | 18,428 |
JavaScript | 14 | 1,931 | 829 | 7,615 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 20 | 1,180 | 77 | 6,177 |
CSS | 6 | 425 | 555 | 5,496 |
SVG | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 202)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 29.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 237.00 |
Average method complexity | 7.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 202.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 0 | 0.00% |
Methods | 280 | |
▷ Static methods | 78 | 27.86% |
▷ Public methods | 276 | 98.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 1.43% |
Functions | 28 | |
▷ Named functions | 26 | 92.86% |
▷ Anonymous functions | 2 | 7.14% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
36 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/opt/img/pos-6.png | 0.28KB | 0.22KB | ▼ 22.57% |
admin/opt/img/i-ham-5.png | 0.20KB | 0.11KB | ▼ 46.12% |
admin/opt/img/pos-3.png | 0.29KB | 0.23KB | ▼ 22.33% |
admin/opt/img/loc-3.png | 0.16KB | 0.11KB | ▼ 33.33% |
admin/opt/img/i-point-up.png | 0.47KB | 0.28KB | ▼ 40.46% |