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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.59ms] Passed 4 tests
Analyzing server-side resources used by News and Blog Designer Bundle
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.32 ▼3.10 |
Dashboard /wp-admin | 3.34 ▼0.01 | 50.47 ▼12.75 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.56 ▲2.14 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.30 ▼27.68 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.50 ▲1.17 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 44 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_wpoh-nbdb-widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_nbdb_post_slider_widget |
Browser metrics Passed 4 tests
News and Blog Designer Bundle: 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,843 ▲97 | 13.20 ▼1.23 | 1.78 ▲0.15 | 40.75 ▼1.75 |
Dashboard /wp-admin | 2,218 ▲33 | 4.87 ▼0.05 | 108.37 ▲4.33 | 41.26 ▼4.55 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.00 ▼0.04 | 40.63 ▲1.73 | 39.49 ▲4.85 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 18.23 ▲0.23 | 604.98 ▼46.73 | 57.29 ▲2.74 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.24 ▼0.01 | 93.26 ▼14.44 | 44.50 ▼3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_nbdb_post_slider_widget
- widget_wpoh-nbdb-widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function has_post_thumbnail() in wp-content/plugins/news-and-blog-designer-bundle/view/nbdb-filter/template-1.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in news-and-blog-designer-bundle/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
news-and-blog-designer-bundle/news-and-blog-designer-bundle.php Passed 13 tests
This is the main PHP file of "News and Blog Designer Bundle" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
101 characters long description:
Display Posts on your website with 8 layouts (2 designs for each layout) plus 1 Ticker and 2 Widgets.
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 plugin4,656 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 200 | 481 | 2,654 |
JavaScript | 6 | 93 | 335 | 987 |
SVG | 1 | 0 | 0 | 685 |
CSS | 3 | 2 | 94 | 330 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 56.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 255.00 |
Average method complexity | 14.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ticker-arrows.png | 1.42KB | 0.60KB | ▼ 57.85% |