Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.93MB] [CPU: ▼0.28ms] Passed 4 tests
Server-side resources used by Productive Demo Importer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 43.02 ▲4.15 |
Dashboard /wp-admin | 4.24 ▲0.93 | 53.86 ▲4.61 |
Posts /wp-admin/edit.php | 4.29 ▲0.93 | 47.16 ▲1.21 |
Add New Post /wp-admin/post-new.php | 6.82 ▲0.93 | 85.30 ▼11.11 |
Media Library /wp-admin/upload.php | 4.16 ▲0.93 | 45.10 ▲11.76 |
Productive Demo Importer /wp-admin/admin.php?page=productive_demo_importer_options_submenu | 4.13 | 33.74 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 4.05 | 35.41 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
productive_demo_importer_current_db_version |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Productive Demo Importer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.41 ▲0.06 | 1.67 ▲0.05 | 43.84 ▲2.62 |
Dashboard /wp-admin | 2,218 ▲38 | 5.58 ▼0.18 | 86.54 ▼0.39 | 42.84 ▲2.53 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.01 ▲0.02 | 35.42 ▼2.17 | 35.01 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,545 ▲10 | 22.97 ▲4.68 | 662.69 ▲40.62 | 69.14 ▲2.22 |
Media Library /wp-admin/upload.php | 1,420 ▲17 | 4.20 ▲0.04 | 108.08 ▲9.07 | 47.73 ▲4.30 |
Productive Demo Importer /wp-admin/admin.php?page=productive_demo_importer_options_submenu | 1,128 | 2.03 | 26.63 | 42.54 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 1,149 | 2.01 | 23.64 | 43.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 3× 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/productive-demo-importer/admin/common/options/global/productiveminds-social-share.php:137
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/productive-demo-importer/admin/common/options/global/global-settings-admin.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/productive-demo-importer/admin/common/options/global/productiveminds-icons.php:463
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=productive_options_overview
- > Network (severe)
wp-content/plugins/productive-demo-importer/public/images/plugin-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: ""
productive-demo-importer/productive-demo-importer.php 92% from 13 tests
The entry point to "Productive Demo Importer" version 1.1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 318 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected5,957 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 680 | 565 | 5,016 |
CSS | 1 | 7 | 10 | 836 |
JavaScript | 1 | 13 | 9 | 96 |
JSON | 9 | 0 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 1 | 100.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 253 | |
▷ Named functions | 253 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 88 | |
▷ Global constants | 76 | 86.36% |
▷ Class constants | 12 | 13.64% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/productivemedia/icons/check-circle.png | 5.45KB | 2.58KB | ▼ 52.71% |
public/images/productivemedia/icons/check.png | 3.05KB | 1.70KB | ▼ 44.22% |
public/images/productivemedia/icons/close-circle.png | 6.21KB | 2.75KB | ▼ 55.79% |
public/images/productivemedia/icons/close.png | 3.46KB | 1.76KB | ▼ 49.15% |
public/images/productivemedia/icons/check-jagged.png | 3.41KB | 1.91KB | ▼ 43.99% |