Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼3.85ms] Passed 4 tests
This is a short check of server-side resources used by Sewn In XML Sitemap
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.96 ▼0.21 |
Dashboard /wp-admin | 3.46 ▲0.16 | 51.95 ▼4.28 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 52.37 ▼0.14 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 96.03 ▼7.88 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.13 ▼3.04 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please try to fix the following items
- You have illegally modified 1 file (0.38KB) outside of "wp-content/plugins/sewn-in-xml-sitemap/" and "wp-content/uploads/"
- (new file) sitemap.xml
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Sewn In XML Sitemap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.30 ▼1.06 | 1.72 ▼0.36 | 42.72 ▼1.01 |
Dashboard /wp-admin | 2,209 ▲21 | 5.88 ▲1.05 | 97.49 ▼20.44 | 39.93 ▼1.96 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.00 ▼0.02 | 37.62 ▼3.75 | 34.93 ▼4.80 |
Add New Post /wp-admin/post-new.php | 6,244 ▲4,716 | 26.08 ▲2.73 | 907.91 ▲233.40 | 63.72 ▲10.75 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.18 ▼0.03 | 98.15 ▼7.30 | 41.53 ▼2.95 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #2 in sewn-in-xml-sitemap/assets to your readme.txt
sewn-in-xml-sitemap/sewn-xml-sitemap.php 77% from 13 tests
Analyzing the main PHP file in "Sewn In XML Sitemap" version 2.0.6
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sewn-in-xml-sitemap.php" instead of "sewn-xml-sitemap.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,164 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 204 | 508 | 823 |
CSS | 2 | 27 | 6 | 235 |
JavaScript | 2 | 20 | 30 | 106 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin