Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.19MB] [CPU: ▼46.17ms] Passed 4 tests
A check of server-side resources used by EAS Sitemap Generator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.79 ▼0.68 | 17.75 ▼30.12 |
Dashboard /wp-admin | 2.83 ▼0.48 | 22.66 ▼37.36 |
Posts /wp-admin/edit.php | 2.83 ▼0.53 | 22.82 ▼31.14 |
Add New Post /wp-admin/post-new.php | 2.83 ▼3.06 | 19.85 ▼86.06 |
Media Library /wp-admin/upload.php | 2.83 ▼0.40 | 18.49 ▼20.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- The plugin illegally modified 1 file (0.53KB) outside of "wp-content/plugins/eas-sitemap-generator/" and "wp-content/uploads/"
- (new file) sitemap.xml
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for EAS Sitemap Generator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 14.75 ▲0.39 | 1.80 ▼0.75 | 43.23 ▼11.68 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼1.00 | 99.74 ▼25.55 | 74.54 ▲27.71 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.01 ▼0.01 | 41.81 ▲1.29 | 34.02 ▼6.26 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 17.49 ▼0.98 | 740.60 ▲68.50 | 52.14 ▼16.33 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.20 ▲0.03 | 103.43 ▼9.35 | 66.88 ▲15.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/eas-sitemap-generator/include/inc-eas-sitemap.php+8
Undefined variable: eas_xml_sitemap
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/eas-sitemap-generator/include/inc-eas-sitemap.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eas-sitemap-generator/eas-sitemap-generator.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: Screenshot #1 (Settings in Admin.) image required
eas-sitemap-generator/eas-sitemap-generator.php Passed 13 tests
The primary PHP file in "EAS Sitemap Generator" version 4.2 is used by WordPress to initiate all plugin functionality
21 characters long description:
EAS Sitemap Generator
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 plugin103 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 45 | 8 | 102 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 5 | |
▷ Named functions | 5 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/eas-sitemap1.png | 3.33KB | 0.40KB | ▼ 88.14% |
screenshot-1.png | 16.20KB | 9.68KB | ▼ 40.27% |