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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼150.47ms] Passed 4 tests
An overview of server-side resources used by Admin Starred Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.07 | 36.04 ▲11.24 |
Dashboard /wp-admin | 3.15 ▲0.08 | 34.30 ▼8.17 |
Posts /wp-admin/edit.php | 3.27 ▲0.17 | 32.63 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.07 | 71.53 ▼594.58 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 26.04 ▲1.86 |
Starred Posts /wp-admin/options-general.php?page=ino-starred-settings | 3.06 | 22.25 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ino_starred_common |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Starred Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,671 ▲70 | 15.57 ▼0.10 | 5.01 ▼0.47 | 75.28 ▲0.67 |
Dashboard /wp-admin | 2,934 ▲38 | 6.14 ▼0.05 | 113.35 ▼16.77 | 168.17 ▲0.66 |
Posts /wp-admin/edit.php | 2,801 ▲64 | 3.37 ▲0.13 | 62.30 ▼3.52 | 147.41 ▲14.60 |
Add New Post /wp-admin/post-new.php | 3,746 ▼177 | 18.75 ▼0.36 | 437.79 ▲21.53 | 156.07 ▼8.95 |
Media Library /wp-admin/upload.php | 1,757 ▲2 | 5.51 ▼0.01 | 147.29 ▼2.36 | 186.79 ▲4.07 |
Starred Posts /wp-admin/options-general.php?page=ino-starred-settings | 1,277 | 3.10 | 59.34 | 142.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 1 option in the database
- ino_starred_common
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
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
7 plugin tags: productivity, organize, gmail, stars, posts...
admin-starred-posts/admin-starred-posts.php Passed 13 tests
The entry point to "Admin Starred Posts" version 2.5.0 is a PHP file that has certain tags in its header comment area
130 characters long description:
Stars everywhere! This plugin lets administrators/editors/authors bookmark posts,pages and custom posts with different star styles
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin705 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 174 | 39 | 497 |
JavaScript | 2 | 42 | 9 | 109 |
CSS | 1 | 20 | 3 | 99 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 32 | |
▷ Static methods | 3 | 9.38% |
▷ Public methods | 25 | 78.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 21.88% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/sprite_stars.png | 2.26KB | 2.32KB | 0.00% |
img/col.png | 0.36KB | 0.44KB | 0.00% |