Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.80ms] Passed 4 tests
A check of server-side resources used by Bollywood Dialogues
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.81 ▲2.32 |
Dashboard /wp-admin | 3.31 ▼0.03 | 46.69 ▼14.24 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.91 ▼2.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.76 ▼13.26 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.59 ▼1.11 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/bollywood-dialogues/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/bollywood-dialogues/assets/icon-256\303\227256.png"
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bollywood Dialogues
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲69 | 14.35 ▼0.36 | 1.98 ▲0.26 | 44.74 ▼6.64 |
Dashboard /wp-admin | 2,200 ▲20 | 5.62 ▼0.01 | 94.31 ▼12.77 | 45.09 ▲1.97 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.98 ▼0.03 | 38.85 ▲1.09 | 35.51 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,601 ▲75 | 22.46 ▼0.77 | 676.51 ▼4.51 | 36.60 ▼28.50 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.18 ▼0.06 | 99.16 ▼2.11 | 44.69 ▼2.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
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/bollywood-dialogues/bollywood-dialogues.php:96
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== bollywood-dialogues ===
)
bollywood-dialogues/bollywood-dialogues.php Passed 13 tests
The main file in "Bollywood Dialogues" v. 1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
42 characters long description:
This is a plugin for the Bollywood lovers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin88 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 21 | 88 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 3 | |
▷ Named functions | 3 | 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
5 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 30.36KB | 11.40KB | ▼ 62.46% |
assets/screenshot-3.png | 2.01KB | 1.03KB | ▼ 48.59% |
assets/icon-256×256.png | 13.05KB | 6.46KB | ▼ 50.53% |
assets/screenshot-1.png | 2.88KB | 1.38KB | ▼ 52.02% |
assets/screenshot-2.png | 2.19KB | 1.08KB | ▼ 50.49% |