Benchmarks
Plugin footprint 83% 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.40MB] [CPU: ▼21.46ms] Passed 4 tests
A check of server-side resources used by WP AdminTools
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 40.64 ▲1.62 |
Dashboard /wp-admin | 3.62 ▲0.28 | 49.53 ▼9.99 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 44.61 ▼6.60 |
Add New Post /wp-admin/post-new.php | 3.42 ▼2.46 | 34.80 ▼70.87 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 34.96 ▲2.88 |
WP-AdminTools /wp-admin/options-general.php?page=sisat-options | 3.46 | 29.29 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
sisat_version |
widget_recent-posts |
sisat_settings |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP AdminTools
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲123 | 13.14 ▼1.67 | 1.77 ▲0.11 | 41.19 ▲0.36 |
Dashboard /wp-admin | 2,278 ▲87 | 5.86 ▼0.02 | 102.18 ▼5.68 | 38.52 ▼5.82 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 34.95 ▼6.47 | 34.40 ▼5.65 |
Add New Post /wp-admin/post-new.php | 6,355 ▲4,836 | 26.06 ▲2.87 | 938.23 ▲298.62 | 64.62 ▲7.35 |
Media Library /wp-admin/upload.php | 1,389 ▲7 | 4.22 ▲0.04 | 100.57 ▼0.73 | 40.45 ▼5.70 |
WP-AdminTools /wp-admin/options-general.php?page=sisat-options | 1,260 | 2.08 | 26.64 | 44.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sisat-options
- > Notice in wp-content/plugins/wp-admintools/wp-admintools.php+505
Undefined index: updated
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-admintools/wp-admintools.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Interface for writing/editing posts or pages), #2 (General settings), #3 (SEO settings), #4 (Clean up settings), #5 (Database settings), #6 (Dashboard view)
wp-admintools/wp-admintools.php 92% from 13 tests
This is the main PHP file of "WP AdminTools" version 1.3.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin2,253 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 86 | 17 | 1,201 |
PO File | 3 | 379 | 796 | 955 |
JavaScript | 2 | 0 | 1 | 52 |
CSS | 1 | 16 | 23 | 45 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected