Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/pd-helper/includes/class-pd-helper.php+280
Use of undefined constant on - assumed 'on' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▲1.26MB] [CPU: ▲3.59ms] Passed 4 tests
An overview of server-side resources used by Podio Helper Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.72 ▲1.26 | 49.94 ▲6.56 |
Dashboard /wp-admin | 4.57 ▲1.26 | 51.31 ▲0.75 |
Posts /wp-admin/edit.php | 4.62 ▲1.26 | 54.95 ▲8.26 |
Add New Post /wp-admin/post-new.php | 7.17 ▲1.28 | 102.78 ▼1.23 |
Media Library /wp-admin/upload.php | 4.49 ▲1.26 | 47.49 ▲11.57 |
Podio Helper Settings /wp-admin/options-general.php?page=pd_helper_settings | 4.49 | 39.69 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 110 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
pd_helper_version |
pdhs1_cb_libs |
pdhs1_cb_mods |
widget_theysaidso_widget |
can_compress_scripts |
pdhs1_cb_reset |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Podio Helper Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 13.66 ▼0.60 | 7.19 ▲5.47 | 45.26 ▲2.97 |
Dashboard /wp-admin | 2,214 ▲26 | 5.80 ▲0.91 | 99.57 ▼16.84 | 39.33 ▼7.59 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 1.99 ▼0.02 | 35.47 ▼0.46 | 31.81 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,521 ▼8 | 23.30 ▲0.09 | 664.16 ▼28.24 | 67.40 ▲15.37 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.20 ▲0.07 | 101.98 ▼7.55 | 43.88 ▲1.57 |
Podio Helper Settings /wp-admin/options-general.php?page=pd_helper_settings | 1,013 | 3.08 | 49.58 | 25.82 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- pdhs1_cb_mods
- db_upgraded
- pdhs1_cb_reset
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- pd_helper_version
- pdhs1_cb_libs
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 74× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioFlow.php:5
- > PHP Fatal error
Uncaught Error: Class 'PodioCollection' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioItemCollection.php:2
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioConversation.php:5
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioUserStatus.php:5
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioReminder.php:5
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioConversationMessage.php:5
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioRecurrence.php:5
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pd-helper/includes/podio/lib/vendor/kint/parsers/custom/classstatics.php:2
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioNotificationContext.php:5
- > PHP Fatal error
Uncaught Error: Class 'PodioObject' not found in wp-content/plugins/pd-helper/includes/podio/models/PodioReference.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=pd_helper_settings
- > Network (severe)
wp-content/plugins/pd-helper/assets/css/admin.css?ver=1.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=pd_helper_settings
- > Network (severe)
wp-content/plugins/pd-helper/assets/js/admin.min.js?ver=1.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=pd_helper_settings
- > Network (severe)
wp-content/plugins/pd-helper/assets/js/settings.min.js?ver=1.0.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
6 plugin tags: admin, dashboard, template, plugin, wordpress...
pd-helper/pd-helper.php 85% from 13 tests
The main PHP file in "Podio Helper Plugin" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.9" instead of "4.0")
- Description: Please don't use more than 140 characters for the plugin description (currently 181 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Please fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .reg - Registry Data File in Windows
- ☣ wp-content/plugins/pd-helper/includes/podio/lib/vendor/kint/scripts/source.reg
- .vbs - VBScript File in Windows
- ☣ wp-content/plugins/pd-helper/includes/podio/lib/vendor/kint/scripts/source.vbs
- .reg - Registry Data File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 91 | 1,363 | 2,394 | 5,730 |
LESS | 4 | 89 | 22 | 342 |
JavaScript | 2 | 58 | 13 | 281 |
Visual Basic | 1 | 14 | 24 | 42 |
Markdown | 1 | 26 | 0 | 36 |
JSON | 1 | 0 | 0 | 24 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 117 | |
▷ Abstract classes | 2 | 1.71% |
▷ Concrete classes | 115 | 98.29% |
▷ Final classes | 0 | 0.00% |
Methods | 588 | |
▷ Static methods | 346 | 58.84% |
▷ Public methods | 537 | 91.33% |
▷ Protected methods | 25 | 4.25% |
▷ Private methods | 26 | 4.42% |
Functions | 14 | |
▷ Named functions | 7 | 50.00% |
▷ Anonymous functions | 7 | 50.00% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.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
PNG images were not found in this plugin