Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.71ms] Passed 4 tests
A check of server-side resources used by Sitemap Generator Professional
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.89 ▼0.94 |
Dashboard /wp-admin | 3.36 ▲0.06 | 52.61 ▼2.81 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 53.71 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.07 ▼9.35 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.00 ▲2.26 |
Settings /wp-admin/admin.php?page=sitemap-generator-settings | 3.25 | 37.89 |
Sitemap Generator /wp-admin/admin.php?page=sitemap-generator | 3.26 | 33.96 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Sitemap Generator Professional
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲30 | 14.73 ▲0.31 | 1.83 ▼0.60 | 43.67 ▲1.18 |
Dashboard /wp-admin | 2,219 ▲42 | 5.56 ▼0.06 | 88.24 ▼4.69 | 40.89 ▼2.38 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 1.99 ▼0.04 | 43.52 ▲5.86 | 38.37 ▲3.15 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.78 ▲0.59 | 699.16 ▲68.66 | 61.39 ▲2.49 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.21 ▲0.03 | 104.50 ▼0.71 | 45.52 ▼2.25 |
Settings /wp-admin/admin.php?page=sitemap-generator-settings | 1,532 | 2.13 | 24.04 | 31.49 |
Sitemap Generator /wp-admin/admin.php?page=sitemap-generator | 836 | 1.89 | 26.53 | 31.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mb-sitemap-generator/shared_functions.php
- > /wp-content/plugins/mb-sitemap-generator/sitemapgenerator.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: You are using too many tags: 17 tag instead of maximum 10
mb-sitemap-generator/sitemapgenerator.php 85% from 13 tests
The primary PHP file in "Sitemap Generator Professional" version 1.7.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mb-sitemap-generator.php" instead of "sitemapgenerator.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Everything looks great! No dangerous files found in this plugin2,524 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 565 | 797 | 2,229 |
PHP | 2 | 66 | 28 | 277 |
CSS | 2 | 4 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected