Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.58ms] Passed 4 tests
Analyzing server-side resources used by XML Sitemap for Stella
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.70 ▼2.03 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.86 ▼17.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.89 ▲4.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.17 ▼22.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.74 ▼0.18 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for XML Sitemap for Stella
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.45 ▲0.09 | 2.20 ▲0.58 | 45.10 ▲1.04 |
Dashboard /wp-admin | 2,195 ▲21 | 5.49 ▼0.19 | 99.20 ▲0.88 | 38.40 ▼4.55 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.06 | 33.36 ▼7.90 | 34.96 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 22.63 ▲4.64 | 653.08 ▲43.81 | 54.49 ▼14.96 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.23 ▲0.06 | 103.70 ▲4.87 | 44.64 ▲1.96 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/xml-sitemap-for-stella/css/xml-sitemap-xsl.php
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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
xml-sitemap-for-stella/xml-sitemap-for-stella.php Passed 13 tests
The primary PHP file in "XML Sitemap for Stella" version 1.1.0 is used by WordPress to initiate all plugin functionality
110 characters long description:
Generates a XML Sitemap on your WordPress multi-language website when powered by Stella multi-language plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected732 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 180 | 198 | 732 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 51.50 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 4.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo_gomo.png | 3.73KB | 2.01KB | ▼ 46.14% |