Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼144.75ms] Passed 4 tests
Analyzing server-side resources used by Post State Tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 23.88 ▼1.46 |
Dashboard /wp-admin | 3.24 ▲0.18 | 37.90 ▼4.05 |
Posts /wp-admin/edit.php | 3.30 ▲0.19 | 38.38 ▲4.65 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.08 | 71.25 ▼576.12 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 25.64 ▲2.65 |
Post State Tags /wp-admin/options-general.php?page=options-post-state-tags | 3.11 | 27.03 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
bb-pst-version |
bb-pst-custom |
bb-pst-advanced |
bb-pst-default |
bb-pst-installed |
bb-pst-special |
Browser metrics Passed 4 tests
An overview of browser requirements for Post State Tags
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,914 ▲313 | 17.64 ▲1.53 | 6.02 ▼2.41 | 73.30 ▼2.88 |
Dashboard /wp-admin | 3,152 ▲256 | 8.29 ▲2.12 | 138.44 ▲9.90 | 167.16 ▼4.06 |
Posts /wp-admin/edit.php | 3,000 ▲263 | 5.23 ▲1.99 | 81.72 ▲18.64 | 141.56 ▲0.72 |
Add New Post /wp-admin/post-new.php | 3,826 ▼92 | 18.65 ▼0.17 | 406.44 ▼42.06 | 163.66 ▼1.61 |
Media Library /wp-admin/upload.php | 1,782 ▲27 | 5.69 ▲0.19 | 121.69 ▼21.24 | 226.82 ▲40.25 |
Post State Tags /wp-admin/options-general.php?page=options-post-state-tags | 3,764 | 5.55 | 157.50 | 137.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- bb-pst-advanced
- bb-pst-version
- bb-pst-default
- bb-pst-special
- bb-pst-custom
- bb-pst-installed
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 your attention:
- Screenshots: No descriptions were found for these screenshots #4, #5 in post-state-tags/assets to your readme.txt
- Plugin Name: You should set the name of your plugin on the first line (
=== post-state-tags ===
)
post-state-tags/post-state-tags.php 92% from 13 tests
This is the main PHP file of "Post State Tags" version 2.0.6, 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:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,489 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 391 | 416 | 1,102 |
JavaScript | 2 | 20 | 4 | 316 |
CSS | 3 | 13 | 3 | 71 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 4 | 5.88% |
▷ Public methods | 60 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 11.76% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin