Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.72MB] [CPU: ▼2.70ms] Passed 4 tests
This is a short check of server-side resources used by News Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.77 | 43.97 ▲2.77 |
Dashboard /wp-admin | 4.07 ▲0.72 | 50.97 ▼11.95 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 51.09 ▲5.98 |
Add New Post /wp-admin/post-new.php | 6.58 ▲0.70 | 86.57 ▼7.60 |
Media Library /wp-admin/upload.php | 3.92 ▲0.69 | 43.22 ▲12.51 |
Add New /wp-admin/post-new.php?post_type=news | 4.14 | 55.10 |
Settings /wp-admin/edit.php?post_type=news&page=news-settings | 3.86 | 39.16 |
Categories /wp-admin/edit-tags.php?taxonomy=news-category&post_type=news | 3.91 | 44.20 |
All News /wp-admin/edit.php?post_type=news | 4.04 | 37.56 |
Tags /wp-admin/edit-tags.php?taxonomy=news-tag&post_type=news | 3.91 | 40.80 |
Server storage [IO: ▲0.25MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
news_manager_version |
widget_news_manager_calendar_widget |
widget_news_manager_tags_widget |
widget_news_manager_list_widget |
widget_news_manager_categories_widget |
widget_theysaidso_widget |
widget_recent-posts |
widget_news_manager_archive_widget |
... |
Browser metrics Passed 4 tests
News Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 13.27 ▼1.09 | 1.81 ▼0.06 | 36.86 ▼6.92 |
Dashboard /wp-admin | 2,245 ▲57 | 5.80 ▲0.93 | 98.07 ▼19.44 | 39.64 ▼6.36 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 2.03 ▲0.01 | 33.29 ▼6.23 | 32.26 ▼4.12 |
Add New Post /wp-admin/post-new.php | 1,565 ▲152 | 23.38 ▲5.39 | 640.79 ▲38.17 | 57.99 ▲15.44 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.22 ▲0.01 | 98.68 ▼2.16 | 42.63 ▲1.17 |
Add New /wp-admin/post-new.php?post_type=news | 2,689 | 7.96 | 193.47 | 68.40 |
Settings /wp-admin/edit.php?post_type=news&page=news-settings | 1,176 | 1.71 | 23.56 | 34.53 |
Categories /wp-admin/edit-tags.php?taxonomy=news-category&post_type=news | 1,298 | 2.14 | 27.59 | 27.49 |
All News /wp-admin/edit.php?post_type=news | 1,161 | 2.00 | 31.42 | 29.08 |
Tags /wp-admin/edit-tags.php?taxonomy=news-tag&post_type=news | 1,273 | 2.14 | 25.56 | 28.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 12 options
- widget_news_manager_tags_widget
- widget_news_manager_list_widget
- widget_theysaidso_widget
- news_manager_version
- db_upgraded
- theysaidso_admin_options
- widget_news_manager_categories_widget
- can_compress_scripts
- widget_recent-posts
- widget_news_manager_calendar_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=news&page=news-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/edit.php?post_type=news&page=news-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 14 tag instead of maximum 10
news-manager/news-manager.php 92% from 13 tests
The principal PHP file in "News Manager" v. 1.1.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,390 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 517 | 288 | 2,150 |
CSS | 3 | 45 | 165 | 773 |
PO File | 1 | 171 | 186 | 400 |
JavaScript | 3 | 9 | 1 | 58 |
XML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 46.22 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 6.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 72 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 7.69% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
9 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-dfactory.png | 2.92KB | 1.92KB | ▼ 34.20% |
images/icon-news-32.png | 1.59KB | 1.58KB | ▼ 0.68% |
css/images/bg_fallback.png | 3.63KB | 0.30KB | ▼ 91.72% |
css/images/icon_sprite.png | 3.14KB | 2.30KB | ▼ 26.70% |
css/images/slider_handles.png | 1.90KB | 1.31KB | ▼ 30.90% |