Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.58ms] Passed 4 tests
Server-side resources used by WP Dropbox Dropins
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.33 ▼2.69 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.77 ▼3.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.57 ▼0.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.12 ▼7.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.50 ▲5.55 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Dropbox Dropins: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲91 | 13.32 ▲0.08 | 2.94 ▼1.25 | 42.62 ▲5.07 |
Dashboard /wp-admin | 2,235 ▲50 | 5.85 ▼0.00 | 109.45 ▲5.66 | 43.34 ▲3.57 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.07 ▲0.04 | 37.53 ▼2.64 | 34.54 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,704 ▲190 | 24.53 ▲0.94 | 617.50 ▼13.63 | 115.24 ▲56.78 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.28 ▲0.06 | 99.40 ▲1.06 | 58.03 ▲13.61 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/wp-dropbox-dropins/admin-dropins.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-dropbox-dropins/wp_dropbox_dropins.php:12
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Plugin Integrates with your posts/page with shortcode) image not found
wp-dropbox-dropins/wp_dropbox_dropins.php 92% from 13 tests
The main PHP script in "WP Dropbox Dropins" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-dropbox-dropins.php" instead of "wp_dropbox_dropins.php")
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
Everything looks great! No dangerous files found in this plugin1,449 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 203 | 199 | 894 |
PHP | 2 | 27 | 29 | 384 |
HTML | 1 | 36 | 2 | 171 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 12 | |
▷ Named functions | 12 | 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
17 PNG files occupy 0.21MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
help/assets/blueprint-css/plugins/buttons/icons/tick.png | 0.52KB | 0.52KB | 0.00% |
help/assets/blueprint-css/plugins/buttons/icons/key.png | 0.44KB | 0.41KB | ▼ 8.13% |
help/assets/blueprint-css/plugins/link-icons/icons/feed.png | 0.67KB | 0.90KB | 0.00% |
help/assets/blueprint-css/plugins/link-icons/icons/external.png | 45.75KB | 0.11KB | ▼ 99.77% |
help/assets/images/htmlstructure.png | 64.29KB | 17.65KB | ▼ 72.55% |