Benchmarks
Plugin footprint 65% 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.68MB] [CPU: ▲1.41ms] Passed 4 tests
An overview of server-side resources used by Simple Sitemap - Create a Responsive HTML Sitemap
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.45 ▲0.99 | 45.55 ▲3.95 |
Dashboard /wp-admin | 3.99 ▲0.68 | 49.80 ▲3.38 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 48.94 ▲3.46 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 86.30 ▼5.16 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 40.37 ▲6.66 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.12 | 36.79 |
Server storage [IO: ▲3.77MB] [DB: ▲0.04MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 259 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
fs_accounts |
simple_sitemap_options |
fs_active_plugins |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
fs_debug_mode |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Sitemap - Create a Responsive HTML Sitemap
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲150 | 14.83 ▲0.45 | 1.82 ▲0.16 | 32.06 ▼21.75 |
Dashboard /wp-admin | 2,244 ▲56 | 5.89 ▲0.97 | 112.28 ▲5.73 | 44.10 ▲2.76 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.03 ▲0.02 | 40.56 ▲3.82 | 39.37 ▲6.34 |
Add New Post /wp-admin/post-new.php | 6,441 ▲4,922 | 21.28 ▼1.54 | 908.92 ▲264.24 | 54.81 ▲0.64 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.21 ▼0.02 | 98.77 ▲0.23 | 42.68 ▼4.57 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,085 | 1.69 | 23.70 | 29.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/simple-sitemap/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- fs_active_plugins
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- simple_sitemap_options
- theysaidso_admin_options
- fs_accounts
- widget_recent-comments
- fs_debug_mode
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/simple-sitemap/shared/class-wpgo-walker-page.php:10
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: seo sitemap, html sitemap, responsive sitemap, html, sitemap
simple-sitemap/simple-sitemap.php 92% from 13 tests
The entry point to "Simple Sitemap - Create a Responsive HTML Sitemap" version 3.5.10 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 151 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin36,758 lines of code in 187 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 144 | 8,548 | 18,250 | 35,537 |
CSS | 18 | 115 | 94 | 474 |
Sass | 1 | 56 | 18 | 304 |
JavaScript | 8 | 62 | 85 | 300 |
SVG | 15 | 0 | 1 | 81 |
JSON | 1 | 0 | 0 | 62 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 63.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 2 | 2.67% |
▷ Concrete classes | 73 | 97.33% |
▷ Final classes | 0 | 0.00% |
Methods | 1,364 | |
▷ Static methods | 223 | 16.35% |
▷ Public methods | 975 | 71.48% |
▷ Protected methods | 17 | 1.25% |
▷ Private methods | 372 | 27.27% |
Functions | 101 | |
▷ Named functions | 99 | 98.02% |
▷ Anonymous functions | 2 | 1.98% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 100.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
28 PNG files occupy 0.37MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
vendor/freemius/wordpress-sdk/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
shared/images/content-censor-thumb.png | 8.82KB | 3.89KB | ▼ 55.92% |
lib/assets/images/new-features/new-sort-options.png | 15.92KB | 16.27KB | 0.00% |
api/assets/images/content-censor-thumb.png | 8.82KB | 3.89KB | ▼ 55.92% |