Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.60ms] Passed 4 tests
Analyzing server-side resources used by Breaking News WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.82 ▼1.75 |
Dashboard /wp-admin | 3.39 ▲0.05 | 49.73 ▼11.17 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.91 ▲3.83 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 93.95 ▼6.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.15 ▲1.08 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 19 new options
New WordPress options |
---|
brnwp_col_not |
brnwp_testo_pers |
brnwp_fil_cat |
brnwp_dim_barra |
can_compress_scripts |
brnwp_col_bar_tit |
brnwp_title_content |
brnwp_col_bar |
brnwp_num_not |
brnwp_col_link |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Breaking News WP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲131 | 13.42 ▼1.24 | 7.92 ▲6.24 | 37.04 ▼3.88 |
Dashboard /wp-admin | 2,213 ▲36 | 5.64 ▲0.00 | 95.56 ▲4.67 | 42.03 ▲1.79 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.00 ▲0.03 | 42.45 ▲6.33 | 35.49 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,541 ▲10 | 23.00 ▲0.25 | 666.39 ▲17.66 | 51.64 ▼1.58 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.28 ▲0.09 | 98.27 ▼8.03 | 42.71 ▼7.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 19 options in the database
- widget_recent-posts
- brnwp_col_tit
- brnwp_num_not
- brnwp_theme
- can_compress_scripts
- widget_recent-comments
- brnwp_title_content
- brnwp_col_link
- theysaidso_admin_options
- widget_theysaidso_widget
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Donate link: Invalid URI ("")
breaking-news-wp/breaking-news.php 92% from 13 tests
This is the main PHP file of "Breaking News WP" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("breaking-news-wp.php" instead of "breaking-news.php")
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
No dangerous file extensions were detected1,206 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 83 | 14 | 524 |
JavaScript | 4 | 52 | 100 | 387 |
CSS | 2 | 35 | 0 | 215 |
PO File | 2 | 38 | 40 | 80 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected