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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.39ms] Passed 4 tests
An overview of server-side resources used by Visual Sitemap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.67 ▼1.47 |
Dashboard /wp-admin | 3.36 ▲0.05 | 50.71 ▼4.23 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.90 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 95.92 ▲5.07 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.10 ▲1.92 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Visual Sitemap
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.72 ▲0.37 | 1.65 ▼0.40 | 42.75 ▼1.26 |
Dashboard /wp-admin | 2,214 ▲37 | 5.62 ▲0.04 | 91.30 ▼0.48 | 40.12 ▼7.09 |
Posts /wp-admin/edit.php | 2,113 ▲16 | 2.16 ▲0.13 | 39.11 ▲1.75 | 34.61 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 22.85 ▼0.21 | 610.14 ▼51.79 | 61.07 ▲11.74 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.17 ▼0.03 | 97.90 ▼2.67 | 41.77 ▼1.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
visual-sitemap/visual-sitemap.php Passed 13 tests
The main PHP script in "Visual Sitemap" version 0.9 is automatically included on every request by WordPress
78 characters long description:
Display an interactive visual sitemap of pages, tags, and categories in admin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin423 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 24 | 24 | 210 |
PHP | 1 | 30 | 48 | 171 |
PO File | 1 | 493 | 1,057 | 40 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/slickmap/vertical-line.png | 0.15KB | 0.10KB | ▼ 31.58% |
assets/images/slickmap/L3-li-top.png | 2.95KB | 0.12KB | ▼ 96.03% |
assets/images/slickmap/L3-center.png | 0.32KB | 0.12KB | ▼ 63.50% |
assets/images/slickmap/L1-center.png | 0.29KB | 0.14KB | ▼ 53.33% |
assets/images/slickmap/L1-right.png | 0.29KB | 0.13KB | ▼ 56.27% |