Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.51MB] [CPU: ▲9.79ms] Passed 4 tests
Server-side resources used by Google Fonts, Typography and Site Content
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.93 ▲1.46 | 45.94 ▲4.27 |
Dashboard /wp-admin | 4.85 ▲1.54 | 55.55 ▲6.49 |
Posts /wp-admin/edit.php | 4.90 ▲1.54 | 60.40 ▲11.83 |
Add New Post /wp-admin/post-new.php | 7.63 ▲1.74 | 109.03 ▲16.57 |
Media Library /wp-admin/upload.php | 4.71 ▲1.48 | 50.18 ▲19.26 |
Productive Style /wp-admin/admin.php?page=productive_style_options_submenu | 4.68 | 41.41 |
Add New /wp-admin/post-new.php?post_type=pro_content_element | 5.01 | 62.17 |
Content Element Types /wp-admin/edit-tags.php?taxonomy=content-element-type&post_type=pro_content_element | 4.71 | 47.20 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 4.66 | 42.34 |
All Content Elements /wp-admin/edit.php?post_type=pro_content_element | 4.75 | 44.63 |
Global Settings /wp-admin/admin.php?page=productive_global_options_submenu | 4.68 | 41.11 |
Server storage [IO: ▲6.82MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 355 new files
Database: no new tables, 14 new options
New WordPress options |
---|
productive_global_section_sharing_options |
productive_global_section_slider_options |
productive_global_section_popup_options |
productive_global_section_misc_options |
productive_style_section_integration_options |
productive_style_current_db_version |
productive_global_section_grid_options |
theysaidso_admin_options |
faq-category_children |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Google Fonts, Typography and Site Content
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲141 | 14.76 ▲0.18 | 2.63 ▲0.94 | 67.81 ▲25.45 |
Dashboard /wp-admin | 2,256 ▲76 | 5.61 ▲0.10 | 96.28 ▲4.74 | 43.94 ▲3.66 |
Posts /wp-admin/edit.php | 2,158 ▲58 | 1.95 ▼0.01 | 39.48 ▼0.85 | 35.90 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 23.42 ▲0.31 | 675.52 ▲17.34 | 71.49 ▲18.09 |
Media Library /wp-admin/upload.php | 1,458 ▲61 | 4.22 ▲0.03 | 96.20 ▼6.22 | 42.96 ▼0.21 |
Productive Style /wp-admin/admin.php?page=productive_style_options_submenu | 1,143 | 2.00 | 28.58 | 44.88 |
Add New /wp-admin/post-new.php?post_type=pro_content_element | 2,542 | 7.65 | 180.06 | 67.99 |
Content Element Types /wp-admin/edit-tags.php?taxonomy=content-element-type&post_type=pro_content_element | 1,332 | 2.12 | 29.12 | 32.37 |
Productive... /wp-admin/admin.php?page=productive_options_overview | 1,137 | 1.96 | 27.42 | 47.38 |
All Content Elements /wp-admin/edit.php?post_type=pro_content_element | 1,154 | 1.90 | 33.75 | 29.46 |
Global Settings /wp-admin/admin.php?page=productive_global_options_submenu | 1,448 | 1.95 | 29.89 | 34.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 13 options
- productive_global_section_slider_options
- productive_global_section_popup_options
- db_upgraded
- productive_global_section_sharing_options
- productive_global_section_grid_options
- widget_recent-comments
- faq-category_children
- productive_style_section_integration_options
- theysaidso_admin_options
- can_compress_scripts
- ...
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 9× 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-style/admin/common/options/global/productiveminds-icons.php:463
- > PHP Warning
Use of undefined constant PRODUCTIVE_STYLE_PLUGIN_PATH - assumed 'PRODUCTIVE_STYLE_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/productive-style/includes/standard/functions.php on line 9
- > PHP Warning
require_once(PRODUCTIVE_STYLE_PLUGIN_PATHincludes/common/db/db_install.php): failed to open stream: No such file or directory in wp-content/plugins/productive-style/includes/standard/functions.php on line 9
- > PHP Warning
Use of undefined constant PRODUCTIVE_STYLE_PLUGIN_PATH - assumed 'PRODUCTIVE_STYLE_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/productive-style/admin/standard/options/partials/section-integration.php on line 36
- > PHP Fatal error
require(): Failed opening required 'PRODUCTIVE_STYLE_PLUGIN_PATHadmin/common/options/partials/part-section-integration.php' (include_path='.:/usr/share/php') in wp-content/plugins/productive-style/admin/standard/options/partials/section-integration.php on line 36
- > PHP Fatal error
require_once(): Failed opening required 'PRODUCTIVE_STYLE_PLUGIN_PATHincludes/common/db/db_install.php' (include_path='.:/usr/share/php') in wp-content/plugins/productive-style/includes/standard/functions.php on line 9
- > PHP Warning
require(PRODUCTIVE_STYLE_PLUGIN_PATHadmin/common/options/partials/part-section-integration.php): failed to open stream: No such file or directory in wp-content/plugins/productive-style/admin/standard/options/partials/section-integration.php on line 36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/productive-style/admin/common/options/global/productiveminds-social-share.php:137
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/productive-style/admin/common/options/global/global-settings-admin.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% 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:
- Donate link: Please fix this invalid URI: ""
- Tags: You are using too many tags: 13 tag instead of maximum 10
productive-style/productive-style.php 92% from 13 tests
Analyzing the main PHP file in "Google Fonts, Typography and Site Content" version 1.1.1
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 162 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
There were no executable files found in this plugin13,503 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 1,051 | 1,234 | 7,832 |
CSS | 5 | 180 | 241 | 5,297 |
JavaScript | 3 | 42 | 43 | 343 |
XML | 1 | 0 | 0 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 5.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 12 | 100.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 361 | |
▷ Named functions | 361 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 130 | |
▷ Global constants | 130 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to 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/close.png | 3.46KB | 1.76KB | ▼ 49.15% |
public/images/productivemedia/icons/close-circle.png | 6.21KB | 2.75KB | ▼ 55.79% |
public/images/productivemedia/icons/check-jagged.png | 3.41KB | 1.91KB | ▼ 43.99% |
public/images/productivemedia/icons/close-jagged.png | 4.12KB | 2.46KB | ▼ 40.23% |