Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼142.28ms] Passed 4 tests
This is a short check of server-side resources used by Complete Image Sitemap
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 31.51 ▲10.64 |
Dashboard /wp-admin | 3.09 ▲0.04 | 45.29 ▲1.45 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 46.86 ▲5.15 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 85.01 ▼573.77 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 32.66 ▼1.94 |
Complete Image Sitemap /wp-admin/tools.php?page=complete-image-sitemap | 2.98 | 28.70 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Complete Image Sitemap
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲126 | 16.33 ▲0.78 | 9.14 ▲1.42 | 48.97 ▼3.24 |
Dashboard /wp-admin | 2,978 ▲44 | 6.06 ▼0.10 | 136.94 ▼4.37 | 111.16 ▼4.83 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 62.79 ▼0.27 | 87.10 ▼6.88 |
Add New Post /wp-admin/post-new.php | 1,503 ▼373 | 18.51 ▼0.60 | 375.67 ▼2.15 | 110.07 ▲3.90 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.01 | 143.50 ▼16.56 | 125.69 ▲3.62 |
Complete Image Sitemap /wp-admin/tools.php?page=complete-image-sitemap | 1,071 | 2.05 | 53.89 | 73.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 8 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=complete-image-sitemap
- > Notice in wp-content/plugins/complete-image-sitemap/complete-image-sitemap.php+73
Undefined index: license
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/complete-image-sitemap/complete-image-sitemap.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== complete-image-sitemap ===
)
complete-image-sitemap/complete-image-sitemap.php 92% from 13 tests
The entry point to "Complete Image Sitemap" version 1.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 215 characters long)
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
No dangerous file extensions were detected172 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 17 | 172 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin