Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.92MB] [CPU: ▼37.12ms] Passed 4 tests
Server-side resources used by Interactive SVG Map
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 54.26 ▲13.23 |
Dashboard /wp-admin | 3.03 ▼0.28 | 24.22 ▼28.34 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 22.86 ▼30.23 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 23.22 ▼80.14 |
Media Library /wp-admin/upload.php | 3.03 ▼0.21 | 26.05 ▼9.77 |
Interactive Map Settings /wp-admin/plugins.php?page=interactive-map-settings | 3.13 | 22.17 |
Server storage [IO: ▲1.81MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Interactive SVG Map
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.67 ▲0.30 | 3.71 ▲1.98 | 41.59 ▼2.18 |
Dashboard /wp-admin | 2,218 ▲38 | 5.81 ▲0.21 | 99.04 ▲7.31 | 41.92 ▲3.41 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.31 ▲0.28 | 37.84 ▲1.80 | 34.05 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.49 ▲0.30 | 696.79 ▲12.54 | 37.05 ▼24.94 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.45 ▲0.21 | 100.89 ▼16.18 | 43.91 ▼6.94 |
Interactive Map Settings /wp-admin/plugins.php?page=interactive-map-settings | 1,732 | 3.03 | 60.40 | 28.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/plugins.php?page=interactive-map-settings
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/interactive-svg-map/interactive-svg-map.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/interactive-svg-map/views/interactive-map-settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires at least: Invalid version format
- Tags: Please delete some tags, you are using 28 tag instead of maximum 10
interactive-svg-map/interactive-svg-map.php 92% from 13 tests
The principal PHP file in "Interactive SVG Map" v. 3.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,478 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 24 | 239 | 45 | 1,119 |
PHP | 3 | 22 | 38 | 215 |
CSS | 3 | 13 | 4 | 144 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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.28MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/flag.png | 1.68KB | 1.56KB | ▼ 7.37% |
assets/images/marker/yellow.png | 16.95KB | 1.67KB | ▼ 90.12% |
assets/css/images/marker/black.png | 16.68KB | 1.54KB | ▼ 90.78% |
assets/css/images/marker/purple.png | 16.96KB | 1.67KB | ▼ 90.13% |
assets/css/images/marker/blue.png | 16.95KB | 1.67KB | ▼ 90.12% |