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.22MB] [CPU: ▼7.65ms] Passed 4 tests
Server-side resources used by Snazzy Maps
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.26 | 50.11 ▲0.93 |
Dashboard /wp-admin | 3.84 ▲0.28 | 55.42 ▼2.16 |
Posts /wp-admin/edit.php | 3.89 ▲0.21 | 50.13 ▼4.65 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.21 | 88.55 ▼24.71 |
Media Library /wp-admin/upload.php | 3.70 ▲0.21 | 42.32 ▲4.01 |
Snazzy Maps /wp-admin/themes.php?page=snazzy_maps | 3.67 | 37.02 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Snazzy Maps: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.43 ▲0.05 | 2.11 ▲0.32 | 44.28 ▼0.81 |
Dashboard /wp-admin | 2,199 ▲22 | 5.70 ▲0.01 | 89.58 ▼8.37 | 39.93 ▼7.36 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.01 | 37.22 ▼0.36 | 34.67 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,548 ▲16 | 23.22 ▲0.15 | 632.02 ▼58.17 | 51.34 ▼4.61 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.25 ▲0.02 | 97.91 ▼11.71 | 42.86 ▼5.19 |
Snazzy Maps /wp-admin/themes.php?page=snazzy_maps | 1,467 | 2.20 | 37.09 | 33.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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)
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 Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: themes, maps, google, color, google maps...
snazzy-maps/snazzymaps.php 92% from 13 tests
The main PHP file in "Snazzy Maps" ver. 1.4.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("snazzy-maps.php" instead of "snazzymaps.php")
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
Good job! No executable or dangerous file extensions detected1,275 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 199 | 333 | 959 |
JavaScript | 5 | 22 | 6 | 191 |
SVG | 8 | 0 | 8 | 124 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 19.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 6.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 22 | 68.75% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin