Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.47ms] Passed 4 tests
A check of server-side resources used by WP-edtior-with-uploader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.49 ▼6.71 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.56 ▼13.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.19 ▼0.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.55 ▼7.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.71 ▼1.56 |
Server storage [IO: ▲2.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 173 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WP-edtior-with-uploader: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.12 ▼0.13 | 1.75 ▲0.05 | 42.50 ▼1.73 |
Dashboard /wp-admin | 2,189 ▲14 | 5.63 ▼0.02 | 88.05 ▼27.31 | 39.55 ▼2.65 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.03 ▲0.05 | 40.49 ▲5.34 | 35.33 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.46 ▲5.26 | 648.17 ▼39.27 | 59.45 ▼16.72 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.12 ▼0.06 | 101.19 ▼18.11 | 43.87 ▼6.91 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-editor-with-uploader/js/plupload-2.1.8/examples/upload.php
- > /wp-content/plugins/wp-editor-with-uploader/js/plupload-2.1.8/examples/dump.php
- > /wp-content/plugins/wp-editor-with-uploader/js/plupload-2.1.8/examples/jquery/s3.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-editor-with-uploader/wp-editor-with-uploader.php:22
- > 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
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== wp-editor-with-uploader ===
)
wp-editor-with-uploader/wp-editor-with-uploader.php 92% from 13 tests
The primary PHP file in "WP-edtior-with-uploader" version 0.8 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Almost there! Just fix the following issues
- Do not include executable or dangerous files in your plugin
- .xap - Silverlight Application Package in Microsoft Silverlight
- ☣ wp-content/plugins/wp-editor-with-uploader/js/plupload-2.1.8/js/Moxie.xap
- .xap - Silverlight Application Package in Microsoft Silverlight
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 104 | 2,725 | 4,186 | 8,643 |
CSS | 8 | 133 | 22 | 682 |
HTML | 6 | 109 | 28 | 491 |
PHP | 4 | 59 | 78 | 210 |
SVG | 2 | 0 | 0 | 192 |
Markdown | 2 | 33 | 0 | 117 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for 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.39 |
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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/plupload-2.1.8/js/jquery.plupload.queue/img/transp50.png | 0.39KB | 0.11KB | ▼ 72.18% |
js/plupload-2.1.8/js/jquery.ui.plupload/img/plupload.png | 6.44KB | 2.99KB | ▼ 53.58% |
js/plupload-2.1.8/js/jquery.plupload.queue/img/buttons.png | 1.41KB | 1.15KB | ▼ 18.00% |
js/plupload-2.1.8/js/jquery.plupload.queue/img/buttons-disabled.png | 1.26KB | 1.02KB | ▼ 19.20% |