Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-ds-blog-map/wp-ds-blogmap.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; dsblogmap has a deprecated constructor
Server metrics [RAM: ▼1.67MB] [CPU: ▼190.92ms] Passed 4 tests
Server-side resources used by WP DS Blog Map
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.96 ▼0.76 | 5.45 ▼18.79 |
Dashboard /wp-admin | 1.98 ▼1.08 | 10.65 ▼33.58 |
Posts /wp-admin/edit.php | 1.98 ▼1.13 | 5.90 ▼45.67 |
Add New Post /wp-admin/post-new.php | 1.98 ▼3.45 | 6.07 ▼645.56 |
Media Library /wp-admin/upload.php | 1.98 ▼1.03 | 5.81 ▼38.86 |
DS Blog Map /wp-admin/options-general.php?page=wp-ds-blog-map/wp-ds-blogmap.php | 1.98 | 9.74 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wp_ds_blogmap_array |
Browser metrics Passed 4 tests
A check of browser resources used by WP DS Blog Map
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,716 ▲120 | 16.03 ▼0.04 | 12.50 ▲2.67 | 50.76 ▼3.43 |
Dashboard /wp-admin | 2,978 ▲41 | 6.06 ▼0.03 | 153.74 ▼4.05 | 117.62 ▼7.22 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 65.87 ▼6.80 | 93.54 ▲6.89 |
Add New Post /wp-admin/post-new.php | 1,686 ▼1,957 | 18.74 ▼1.70 | 397.45 ▼85.07 | 123.16 ▲0.52 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.02 ▲0.02 | 155.83 ▲1.38 | 134.77 ▲6.02 |
DS Blog Map /wp-admin/options-general.php?page=wp-ds-blog-map/wp-ds-blogmap.php | 1,420 | 2.17 | 63.74 | 90.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-ds-blog-map/wp-ds-blogmap.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; dsblogmap has a deprecated constructor
- This plugin did not uninstall successfully, leaving 1 option in the database
- wp_ds_blogmap_array
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-ds-blog-map/wp-ds-blogmap.php
- > Deprecated in wp-content/plugins/wp-ds-blog-map/wp-ds-blogmap.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; dsblogmap has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=wp-ds-blog-map/wp-ds-blogmap.php
- > User notice in wp-includes/functions.php+5663
register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- > GET request to /wp-admin/options-general.php?page=wp-ds-blog-map/wp-ds-blogmap.php
- > User deprecated in wp-includes/functions.php+5505
load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-ds-blog-map/wp-ds-blogmap.php
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 0% 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-ds-blog-map/ajax.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-ds-blog-map/wp-ds-blogmap.php:20
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-ds-blog-map/wp-ds-blogmap.php on line 20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wp-ds-blog-map/wp-ds-blogmap.php
- > Network (severe)
https://www.paypalobjects.com/ru_RU/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: archive, posts, sitemap, seo, post
wp-ds-blog-map/wp-ds-blogmap.php 92% from 13 tests
The main PHP file in "WP DS Blog Map" ver. 3.1.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-ds-blog-map.php" instead of "wp-ds-blogmap.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
No dangerous file extensions were detected483 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 94 | 131 | 382 |
PO File | 1 | 34 | 67 | 87 |
CSS | 1 | 0 | 7 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 60.00 |
▷ Minimum class complexity | 60.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin