Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.07ms] Passed 4 tests
An overview of server-side resources used by WP News in New Tab
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.03 ▼2.62 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.58 ▼4.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.45 ▼4.95 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.55 ▼12.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.42 ▼1.79 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP News in New Tab
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 14.40 ▲0.02 | 1.85 ▲0.13 | 44.94 ▼0.62 |
Dashboard /wp-admin | 2,205 ▲14 | 5.85 ▼0.06 | 108.02 ▲6.49 | 37.52 ▼3.44 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.08 ▲0.06 | 40.53 ▲4.97 | 35.52 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,530 ▼5 | 23.00 ▼0.15 | 640.00 ▼42.31 | 54.95 ▼4.75 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.21 ▲0.01 | 93.78 ▼9.41 | 42.51 ▼4.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #2 is required in wp-news-in-new-tab/assets to your readme.txt
wp-news-in-new-tab/wp-news-in-new-tab.php Passed 13 tests
"WP News in New Tab" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
85 characters long description:
Wordpress news new tab help Admin to open wordpress news or rss fedd open in new tab.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin16 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 5 | 19 | 12 |
JavaScript | 1 | 0 | 3 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.27MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 17.47KB | 6.86KB | ▼ 60.73% |
assets/banner-772x250.png | 10.63KB | 4.88KB | ▼ 54.04% |
assets/icon-128x128.png | 7.41KB | 3.59KB | ▼ 51.60% |
assets/screenshot-1.png | 119.00KB | 42.78KB | ▼ 64.05% |
assets/screenshot-2.png | 118.49KB | 42.81KB | ▼ 63.87% |