Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/ect-sitemap/ect-sitemap.php+13
Undefined index: detlinkspacechar
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.99ms] Passed 4 tests
Analyzing server-side resources used by ECT Sitemap
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.78 ▼2.81 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.56 ▼6.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.44 ▼0.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.16 ▼9.93 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.36 ▼0.77 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/ect-sitemap/" and "wp-content/uploads/"
- (new file) sitemap.xml
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ECT Sitemap
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.18 | 1.69 ▼0.17 | 43.88 ▼0.16 |
Dashboard /wp-admin | 2,206 ▲14 | 5.85 ▼0.05 | 101.62 ▼3.79 | 40.46 ▲0.63 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.01 | 33.55 ▼5.49 | 34.38 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,533 ▼2 | 23.22 ▼0.03 | 648.68 ▼33.87 | 55.05 ▼5.54 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.19 ▲0.01 | 106.55 ▲2.02 | 45.73 ▲2.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ect-sitemap/ect-sitemap.php:11
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
- Tags: You are using too many tags: 11 tag instead of maximum 10
ect-sitemap/ect-sitemap.php Passed 13 tests
The primary PHP file in "ECT Sitemap" version 2.0 is used by WordPress to initiate all plugin functionality
116 characters long description:
This plugin will generate a SITEMAP PAGE as well as xml sitemap file. Use [ECT_HTML_SITEMAP] to display html sitemap
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin444 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 19 | 419 |
CSS | 1 | 0 | 1 | 25 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/delete.png | 0.15KB | 0.14KB | ▼ 4.00% |
img/ect28x28.png | 0.63KB | 0.58KB | ▼ 7.59% |