Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.83MB] [CPU: ▼290.59ms] Passed 4 tests
This is a short check of server-side resources used by WP SiteManager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.34 ▲0.83 | 69.26 ▲11.87 |
Dashboard /wp-admin | 4.23 ▲0.82 | 44.51 ▲7.74 |
Posts /wp-admin/edit.php | 4.52 ▲0.88 | 56.89 ▲13.46 |
Add New Post /wp-admin/post-new.php | 7.75 ▲0.78 | 103.73 ▼1,191.32 |
Media Library /wp-admin/upload.php | 4.18 ▲0.88 | 35.30 ▲9.35 |
モジュール /wp-admin/admin.php?page=wp-sitemanager/wp-sitemanager.php | 4.15 | 34.44 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- You have illegally modified 1 file (6.98KB) outside of "wp-content/plugins/wp-sitemanager/" and "wp-content/uploads/"
- (new file) wp-content/advanced-cache.php
Filesystem: 31 new files
Database: 4 new tables, 2 new options
New tables |
---|
wp_sitemanager_device_group |
wp_sitemanager_device |
wp_sitemanager_device_relation |
wp_site_cache |
New WordPress options |
---|
site_manager_cache_installed |
widget_sub_navi |
Browser metrics Passed 4 tests
WP SiteManager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,863 ▲109 | 15.84 ▲0.07 | 6.63 ▼0.18 | 2.57 ▼0.46 |
Dashboard /wp-admin | 2,934 ▲73 | 6.16 ▼0.04 | 122.03 ▼17.31 | 171.06 ▲8.65 |
Posts /wp-admin/edit.php | 2,733 ▲42 | 3.24 ▼0.00 | 63.71 ▼2.55 | 143.73 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,836 ▲175 | 21.83 ▲5.84 | 460.55 ▲15.39 | 213.07 ▲58.08 |
Media Library /wp-admin/upload.php | 1,744 ▲46 | 5.52 ▲0.04 | 146.88 ▼0.59 | 203.76 ▲7.80 |
マルチデバイス /wp-admin/wp-sitemanager.php-device | 26 | 0.94 | 0.04 | 26.67 |
サイト構造 /wp-admin/wp-sitemanager.php-structure | 26 | 0.94 | 0.03 | 17.69 |
キャッシュ /wp-admin/wp-sitemanager.php-cache | 26 | 0.94 | 0.04 | 17.57 |
SEO & SMO /wp-admin/wp-sitemanager.php-access | 26 | 0.94 | 0.06 | 16.14 |
モジュール /wp-admin/admin.php?page=wp-sitemanager/wp-sitemanager.php | 1,118 | 2.51 | 57.28 | 177.43 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 4 tables
- wp_sitemanager_device
- wp_site_cache
- wp_sitemanager_device_relation
- wp_sitemanager_device_group
- Zombie WordPress options detected upon uninstall: 2 options
- widget_sub_navi
- site_manager_cache_installed
Smoke tests 50% 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-sitemanager/modules/theme_switcher.php on line 15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-sitemanager/modules/site-structure.php:476
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-sitemanager/modules/page-navi.php:258
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-sitemanager/modules/theme_switcher.php on line 15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-sitemanager/modules/meta-manager.php:819
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/wp-sitemanager/wp-sitemanager.php:20
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-sitemanager/modules/site-cache.php:483
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-sitemanager/modules/bread-crumb.php:452
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-sitemanager/modules/theme_switcher.php on line 15
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/wp-sitemanager.php-device
- > Network (severe)
wp-admin/wp-sitemanager.php-device - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/wp-sitemanager.php-structure
- > Network (severe)
wp-admin/wp-sitemanager.php-structure - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/wp-sitemanager.php-cache
- > Network (severe)
wp-admin/wp-sitemanager.php-cache - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/wp-sitemanager.php-access
- > Network (severe)
wp-admin/wp-sitemanager.php-access - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: pager, cms, breadcrumb, mobile, sitemap...
wp-sitemanager/wp-sitemanager.php Passed 13 tests
The main PHP file in "WP SiteManager" ver. 1.2.5 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
WP SiteManager is an integrated package comprising of necessary functions for using WordPress as a CMS.
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
Everything looks great! No dangerous files found in this plugin4,553 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 559 | 411 | 4,075 |
CSS | 5 | 2 | 25 | 236 |
Smarty | 1 | 20 | 0 | 203 |
JavaScript | 1 | 5 | 2 | 39 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 61.46 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 160.00 |
Average method complexity | 5.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 166 | |
▷ Static methods | 3 | 1.81% |
▷ Public methods | 116 | 69.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 50 | 30.12% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.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
13 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
sitemap-styles/basic-1/images/list_mark_child03.png | 0.16KB | 0.11KB | ▼ 28.30% |
sitemap-styles/simple-1/images/list_mark_child04.png | 0.15KB | 0.11KB | ▼ 25.64% |
sitemap-styles/modern-1/images/list_mark_child01.png | 0.15KB | 0.10KB | ▼ 30.67% |
sitemap-styles/modern-2/images/list_mark_child02.png | 0.16KB | 0.11KB | ▼ 28.83% |
sitemap-styles/modern-2/images/list_mark_parent02.png | 0.14KB | 0.10KB | ▼ 29.79% |