Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.74ms] Passed 4 tests
This is a short check of server-side resources used by Really Simple XML and HTML Sitemap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.58 ▼5.11 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.61 ▼5.99 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.43 ▼1.59 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.16 ▼14.28 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.77 ▲1.92 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- There were 1 file (0.35KB) illegally modified outside of "wp-content/plugins/really-simple-xml-and-html-sitemap/" and "wp-content/uploads/"
- (new file) sitemap.xml
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
rsxh-exclude-post-type |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Really Simple XML and HTML Sitemap
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲127 | 13.52 ▼0.80 | 7.72 ▲5.69 | 38.00 ▼3.58 |
Dashboard /wp-admin | 2,211 ▲36 | 5.60 ▼0.07 | 88.13 ▼13.45 | 39.99 ▼2.35 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 2.05 ▲0.04 | 36.75 ▼0.24 | 37.66 ▲3.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.11 ▲5.45 | 666.33 ▼39.69 | 54.45 ▼7.01 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.22 ▲0.01 | 101.03 ▲1.86 | 43.93 ▼1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/really-simple-xml-and-html-sitemap/admin/partials/really-simple-xml-and-html-sitemap-admin-display.php
- > /wp-content/plugins/really-simple-xml-and-html-sitemap/public/partials/really-simple-xml-and-html-sitemap-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Really_Simple_XML_And_HTML_Sitemap_Admin' not found in wp-content/plugins/really-simple-xml-and-html-sitemap/admin/templates/rsxh-sitemap-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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid url: "#"
really-simple-xml-and-html-sitemap/really-simple-xml-and-html-sitemap.php 92% from 13 tests
The entry point to "Really Simple XML and HTML Sitemap" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 174 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin714 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 269 | 636 | 683 |
JavaScript | 2 | 7 | 54 | 24 |
CSS | 2 | 0 | 8 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 3 | 9.09% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.16MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 53.54KB | 30.54KB | ▼ 42.96% |
assets/screenshot-2.png | 53.51KB | 23.75KB | ▼ 55.61% |
assets/screenshot-1.png | 58.67KB | 35.30KB | ▼ 39.84% |