Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.46ms] Passed 4 tests
An overview of server-side resources used by Nova Dashboard Widget - BBC News - Technology
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.70 ▼1.12 |
Dashboard /wp-admin | 4.34 ▲0.99 | 50.68 ▼14.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.15 ▼6.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.78 ▼22.90 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.46 ▼1.99 |
Server storage [IO: ▲0.00MB] [DB: ▲0.13MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Nova Dashboard Widget - BBC News - Technology
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲112 | 14.43 ▲0.49 | 1.85 ▼0.27 | 46.10 ▲2.54 |
Dashboard /wp-admin | 2,264 ▲84 | 5.62 ▼0.04 | 90.87 ▼2.23 | 38.78 ▼2.14 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.97 ▼0.04 | 39.77 ▲1.20 | 35.06 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.22 ▲0.09 | 667.20 ▼17.40 | 51.92 ▲3.19 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.13 ▼0.10 | 99.03 ▼9.21 | 44.72 ▼1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.13MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nova-dashboard-widget-bbc-news-technology/nova-dashboard-widget-bbc-news-technology.php:56
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== nova-dashboard-widget-bbc-news-technology ===
)
nova-dashboard-widget-bbc-news-technology/nova-dashboard-widget-bbc-news-technology.php Passed 13 tests
The principal PHP file in "Nova Dashboard Widget - BBC News - Technology" v. 1.0 is loaded by WordPress automatically on each request
83 characters long description:
A simple plugin that adds a BBC News Technology RSS feed to your worpress dashboard
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected25 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 23 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin