Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.21ms] Passed 4 tests
Analyzing server-side resources used by WP News Desk Dashboard Feed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.58 ▼4.65 |
Dashboard /wp-admin | 3.61 ▲0.30 | 52.86 ▼5.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.58 ▼5.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.68 ▼9.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 43.91 ▲6.85 |
Server storage [IO: ▲0.09MB] [DB: ▲0.04MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP News Desk Dashboard Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲106 | 14.35 ▼0.04 | 1.73 ▲0.00 | 46.12 ▲2.40 |
Dashboard /wp-admin | 2,276 ▲102 | 5.63 ▲0.03 | 91.44 ▲6.84 | 46.79 ▲7.69 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.00 | 39.96 ▼0.88 | 36.16 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.56 ▲0.43 | 655.20 ▼33.37 | 60.72 ▲2.20 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.03 | 98.14 ▼8.92 | 38.62 ▼8.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-news-desk-dashboard-feed/wpnewdesk-dashboard-feed.php:77
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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:
- Screenshots: These screenshots do not have images: #1 (Default widget view.), #2 (Configuration options.)
wp-news-desk-dashboard-feed/wpnewdesk-dashboard-feed.php 85% from 13 tests
The main PHP file in "WP News Desk Dashboard Feed" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 202 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-news-desk-dashboard-feed.php" instead of "wpnewdesk-dashboard-feed.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
There were no executable files found in this plugin44 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 14 | 44 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 4 | |
▷ Named functions | 4 | 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
2 PNG files occupy 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 14.04KB | 4.53KB | ▼ 67.70% |
screenshot-1.png | 72.96KB | 20.49KB | ▼ 71.92% |