Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.31ms] Passed 4 tests
An overview of server-side resources used by Admin Starred Posts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.89 ▼2.53 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.61 ▼1.47 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.81 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.50 ▼8.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.81 ▲0.39 |
Starred Posts /wp-admin/options-general.php?page=ino-starred-settings | 3.22 | 32.59 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
ino_starred_common |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Starred Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.23 ▼1.52 | 1.64 ▼0.31 | 41.63 ▼2.17 |
Dashboard /wp-admin | 2,210 ▲22 | 6.09 ▲0.95 | 102.97 ▼1.61 | 40.15 ▼2.07 |
Posts /wp-admin/edit.php | 2,142 ▲53 | 2.17 ▲0.17 | 38.01 ▲1.94 | 36.68 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.28 ▼0.16 | 653.35 ▼2.87 | 54.17 ▼10.62 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.04 | 95.54 ▼1.68 | 42.53 ▼1.29 |
Starred Posts /wp-admin/options-general.php?page=ino-starred-settings | 948 | 2.25 | 33.31 | 31.51 |
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 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- ino_starred_common
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: admin, posts, stars, gmail, organize...
admin-starred-posts/admin-starred-posts.php Passed 13 tests
The primary PHP file in "Admin Starred Posts" version 2.5.0 is used by WordPress to initiate all plugin functionality
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 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected705 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
This plugin has no cyclomatic complexity issues
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% |