Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼298.59ms] Passed 4 tests
A check of server-side resources used by PS Auto Sitemap
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.18 | 65.77 ▲5.09 |
Dashboard /wp-admin | 3.52 ▲0.12 | 33.48 ▲0.04 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 53.52 ▲14.54 |
Add New Post /wp-admin/post-new.php | 6.99 ▲0.02 | 92.86 ▼1,200.64 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 28.09 ▲1.15 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 99 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ps_sitemap |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PS Auto Sitemap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲14 | 16.20 ▲0.41 | 5.45 ▼0.62 | 2.15 ▼0.73 |
Dashboard /wp-admin | 2,897 ▲43 | 6.16 ▼0.09 | 120.59 ▼20.95 | 163.00 ▼66.03 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.23 ▼0.00 | 68.29 ▲3.31 | 178.94 ▼5.93 |
Add New Post /wp-admin/post-new.php | 1,675 ▼67 | 21.80 ▲0.42 | 445.18 ▼32.05 | 210.45 ▲41.38 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.53 ▲0.02 | 143.58 ▲5.33 | 194.83 ▲2.59 |
PS Auto Sitemap /wp-admin/ps_auto_sitemap.php | 26 | 0.94 | 0.08 | 40.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- ps_sitemap
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 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 add_action() in wp-content/plugins/ps-auto-sitemap/ps_auto_sitemap.php:36
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/ps_auto_sitemap.php
- > Network (severe)
wp-admin/ps_auto_sitemap.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: sitemap, seo, cms, page, post
ps-auto-sitemap/ps_auto_sitemap.php 92% from 13 tests
The principal PHP file in "PS Auto Sitemap" v. 1.1.9 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ps-auto-sitemap.php" instead of "ps_auto_sitemap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,737 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 158 | 14 | 907 |
PHP | 1 | 79 | 8 | 511 |
PO File | 2 | 107 | 109 | 239 |
HTML | 1 | 1 | 53 | 80 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 129.00 |
▷ Minimum class complexity | 129.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 7.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
73 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/document/ico_folder.png | 0.21KB | 0.17KB | ▼ 15.24% |
images/document/ico_post_list.png | 0.17KB | 0.13KB | ▼ 26.01% |
images/music/ico_g_clef.png | 0.68KB | 0.56KB | ▼ 17.50% |
images/under_score/line_solid_d_gray.png | 0.12KB | 0.08KB | ▼ 34.13% |
images/arrows/ico_post_list.png | 0.17KB | 0.13KB | ▼ 26.01% |