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: ▼5.22ms] Passed 4 tests
A check of server-side resources used by Blog Image Sitemap
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.23 ▲2.23 |
Dashboard /wp-admin | 3.43 ▲0.12 | 46.84 ▼5.95 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 44.09 ▼2.18 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 83.23 ▼14.99 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.44 ▲5.06 |
WP Image Sitemap /wp-admin/options-general.php?page=image-sitemap-setting-page | 3.32 | 32.77 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
5ba4c23331acf0c1249786f43138a12b |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Blog Image Sitemap
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.18 ▼1.43 | 1.82 ▲0.05 | 43.19 ▼1.08 |
Dashboard /wp-admin | 2,210 ▲22 | 5.79 ▲0.90 | 94.95 ▼20.79 | 39.84 ▼9.57 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▲0.01 | 36.50 ▼2.26 | 35.13 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 23.27 ▲5.12 | 668.95 ▲48.08 | 61.47 ▲3.68 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.17 ▲0.00 | 96.39 ▼0.62 | 41.19 ▼1.56 |
WP Image Sitemap /wp-admin/options-general.php?page=image-sitemap-setting-page | 810 | 2.19 | 23.52 | 32.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- 5ba4c23331acf0c1249786f43138a12b
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function ImageSitemap\\site_url() in wp-content/plugins/blog-image-sitemap/classes/CronScheduleAction.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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: sitemap, back, image, cron event
blog-image-sitemap/blog-image-sitemap.php Passed 13 tests
The main file in "Blog Image Sitemap" v. 0.2.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
51 characters long description:
Create sitemap for blog pictures with cron schedule
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
Good job! No executable or dangerous file extensions detected2,388 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 517 | 469 | 2,383 |
XML | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 68.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 4.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 141 | |
▷ Static methods | 11 | 7.80% |
▷ Public methods | 114 | 80.85% |
▷ Protected methods | 15 | 10.64% |
▷ Private methods | 12 | 8.51% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 23 | |
▷ Global constants | 23 | 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