Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼143.51ms] Passed 4 tests
Analyzing server-side resources used by Adjust Users Screen
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.14 | 39.70 ▲15.39 |
Dashboard /wp-admin | 3.10 ▲0.04 | 44.19 ▼7.14 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 45.18 ▼4.35 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 96.07 ▼565.38 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 35.17 ▲2.85 |
Adjust Users Screen /wp-admin/options-general.php?page=AdjustUsersScreenPlugin/settings.php | 2.99 | 30.09 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Adjust Users Screen
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,689 ▲93 | 16.24 ▲0.35 | 7.06 ▼1.78 | 46.39 ▼7.20 |
Dashboard /wp-admin | 2,984 ▲53 | 5.90 ▼0.03 | 143.22 ▼8.75 | 132.09 ▲10.30 |
Posts /wp-admin/edit.php | 2,753 ▲14 | 2.71 ▲0.03 | 73.34 ▲0.49 | 95.79 ▼2.32 |
Add New Post /wp-admin/post-new.php | 1,690 ▲109 | 18.81 ▲0.48 | 398.53 ▼17.38 | 122.00 ▼4.75 |
Media Library /wp-admin/upload.php | 1,818 ▲11 | 5.05 ▲0.05 | 155.12 ▼5.49 | 127.19 ▼5.50 |
Adjust Users Screen /wp-admin/options-general.php?page=AdjustUsersScreenPlugin/settings.php | 1,080 | 2.58 | 65.17 | 90.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=AdjustUsersScreenPlugin/settings.php
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method AdjustUsersScreenPlugin::display_settings_page() should not be called statically
SRP 50% 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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/adjust-users-screen/adjust-users-screen.php:14
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Requires at least: Version format is invalid
adjust-users-screen/adjust-users-screen.php 92% from 13 tests
The entry point to "Adjust Users Screen" version 0.11 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin473 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
LESS | 2 | 48 | 5 | 306 |
PHP | 1 | 35 | 15 | 106 |
CSS | 1 | 0 | 0 | 58 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.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