Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.09MB] [CPU: ▼287.84ms] Passed 4 tests
A check of server-side resources used by Post UI Tabs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 30.78 ▼1.46 |
Dashboard /wp-admin | 3.08 ▲0.03 | 35.11 ▼5.74 |
Posts /wp-admin/edit.php | 3.17 ▼0.42 | 41.13 ▼3.82 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 90.15 ▼1,132.85 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 27.34 ▼8.94 |
Post UI Tabs /wp-admin/options-general.php?page=post-ui-tabs | 3.02 | 27.97 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Post UI Tabs: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,706 ▲100 | 16.19 ▲0.88 | 8.07 ▼1.41 | 46.51 ▲0.83 |
Dashboard /wp-admin | 2,967 ▲114 | 5.92 ▲0.10 | 140.03 ▲1.11 | 94.15 ▼15.02 |
Posts /wp-admin/edit.php | 2,711 ▲8 | 2.70 ▲0.00 | 70.29 ▲3.39 | 94.06 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,659 ▲6 | 18.81 ▲0.25 | 375.40 ▲4.41 | 96.04 ▼6.69 |
Media Library /wp-admin/upload.php | 1,777 ▲2 | 5.01 ▼0.00 | 139.51 ▼9.67 | 108.87 ▼8.76 |
Post UI Tabs /wp-admin/options-general.php?page=post-ui-tabs | 1,406 | 2.10 | 64.51 | 74.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== put ===
)
put/put.php 92% from 13 tests
The principal PHP file in "Post UI Tabs" v. 1.1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin803 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 117 | 48 | 477 |
JavaScript | 7 | 61 | 33 | 256 |
HTML | 1 | 3 | 0 | 70 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 64.52% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 35.48% |
Functions | 2 | |
▷ Named functions | 2 | 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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected