Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.46ms] Passed 4 tests
A check of server-side resources used by Blog Pages Sitemap
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 37.90 ▲1.86 |
Dashboard /wp-admin | 3.44 ▲0.09 | 44.62 ▼13.78 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.13 ▼2.71 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 91.58 ▼10.86 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.52 ▲1.53 |
WP Pages Sitemap /wp-admin/options-general.php?page=pages-sitemap-settings | 3.33 | 31.69 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
c4601a0c4a53fc695582736ba26c6e84 |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Blog Pages Sitemap: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▲0.07 | 1.89 ▲0.44 | 42.12 ▲6.73 |
Dashboard /wp-admin | 2,202 ▲27 | 5.61 ▼0.10 | 82.36 ▼17.92 | 38.32 ▼8.08 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.08 | 40.95 ▲0.43 | 36.50 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,537 ▲2 | 18.26 ▼4.83 | 604.22 ▼6.70 | 62.36 ▲11.45 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▲0.01 | 99.10 ▲3.41 | 43.57 ▲3.14 |
WP Pages Sitemap /wp-admin/options-general.php?page=pages-sitemap-settings | 816 | 2.04 | 24.56 | 29.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- c4601a0c4a53fc695582736ba26c6e84
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function PageSitemap\\site_url() in wp-content/plugins/blog-pages-sitemap/classes/PagesSitemapCronSchedule.php:209
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
4 plugin tags: pages, sitemap, cron event, back
blog-pages-sitemap/blog-pages-sitemap.php Passed 13 tests
The main PHP script in "Blog Pages Sitemap" version 0.0.2 is automatically included on every request by WordPress
48 characters long description:
Create sitemap for blog pages with cron schedule
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin717 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 157 | 160 | 716 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 13 | 27.08% |
▷ Public methods | 43 | 89.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.42% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin