Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.33ms] Passed 4 tests
A check of server-side resources used by Sitemap Configurator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.55 ▼0.99 |
Dashboard /wp-admin | 3.36 ▲0.05 | 44.21 ▼1.90 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.68 ▲0.61 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.81 ▼15.05 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.47 ▲2.56 |
Sitemap Configurator /wp-admin/options-general.php?page=sitemap-configurator | 3.27 | 30.12 |
Server storage [IO: ▲6.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 105 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
osc_options |
Browser metrics Passed 4 tests
Checking browser requirements for Sitemap Configurator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,005 ▲270 | 15.02 ▲0.66 | 1.82 ▼0.13 | 38.89 ▼5.06 |
Dashboard /wp-admin | 2,408 ▲217 | 6.52 ▲1.68 | 115.95 ▲7.26 | 47.70 ▲6.05 |
Posts /wp-admin/edit.php | 2,234 ▲145 | 3.36 ▲1.31 | 49.34 ▲9.23 | 43.59 ▲6.35 |
Add New Post /wp-admin/post-new.php | 1,717 ▲184 | 24.15 ▲1.03 | 738.12 ▲102.32 | 52.94 ▲3.57 |
Media Library /wp-admin/upload.php | 1,609 ▲221 | 5.81 ▲1.63 | 107.39 ▲8.72 | 48.98 ▲5.22 |
Sitemap Configurator /wp-admin/options-general.php?page=sitemap-configurator | 1,033 | 3.07 | 34.14 | 61.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- osc_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/sitemap-configurator/sitemap-configurator.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sitemap-configurator/views/options.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== sitemap-configurator ===
)
sitemap-configurator/sitemap-configurator.php Passed 13 tests
The principal PHP file in "Sitemap Configurator" v. 0.9 is loaded by WordPress automatically on each request
54 characters long description:
A tiny plugin to configure the WordPress core sitemap.
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
There were no executable files found in this plugin58,965 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 26 | 5,625 | 1,252 | 41,612 |
CSS | 5 | 3,016 | 29 | 16,851 |
PHP | 6 | 53 | 102 | 312 |
SVG | 1 | 0 | 0 | 190 |
PHP code Passed 2 tests
Analyzing 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 | 4.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
56 PNG files occupy 1.77MB with 0.95MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/shared-ui/images/chartjs-stats.png | 11.38KB | 4.00KB | ▼ 64.89% |
assets/shared-ui/images/anatomy-smart-search.png | 10.55KB | 3.58KB | ▼ 66.07% |
assets/shared-ui/images/forminator-create.png | 9.72KB | 3.87KB | ▼ 60.22% |
assets/shared-ui/images/plugins-forminator-icon.png | 5.56KB | 5.10KB | ▼ 8.27% |
assets/shared-ui/images/beehive-welcome.png | 44.57KB | 13.73KB | ▼ 69.19% |