Benchmarks
Plugin footprint 65% 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.12MB] [CPU: ▲0.36ms] Passed 4 tests
Server-side resources used by PP Freedom - Create Widgets & Show Them In Current or Another WordPress or Non-WordPress Sites
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 41.58 ▼3.38 |
Dashboard /wp-admin | 3.41 ▲0.11 | 58.82 ▲6.58 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.95 ▲0.94 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 101.29 ▼1.84 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 41.09 ▲5.73 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_ppfrdm_publish |
wp_ppfrdm_pull |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for PP Freedom - Create Widgets & Show Them In Current or Another WordPress or Non-WordPress Sites
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.34 ▼0.23 | 1.74 ▼0.16 | 43.65 ▲0.08 |
Dashboard /wp-admin | 2,233 ▲56 | 5.80 ▲0.20 | 94.13 ▼2.28 | 41.85 ▲1.30 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.32 ▲0.33 | 36.90 ▼4.05 | 33.45 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.14 ▼0.11 | 580.88 ▼84.01 | 34.01 ▼16.11 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.39 ▲0.20 | 97.50 ▼14.15 | 40.84 ▼6.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_ppfrdm_publish
- wp_ppfrdm_pull
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 68× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme1.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme1.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme2.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme2.php on line 27
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme2.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme1.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme1.php on line 27
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme2.php on line 4
- > PHP Notice
Undefined variable: GLOBAlS in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme1.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pp-freedom/views/public/ppfrdm-view-theme1.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
pp-freedom/ppfrdm.php 77% from 13 tests
Analyzing the main PHP file in "PP Freedom - Create Widgets & Show Them In Current or Another WordPress or Non-WordPress Sites" version 2.4
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pp-freedom.php" instead of "ppfrdm.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 287 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,432 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 110 | 54 | 2,123 |
PO File | 1 | 83 | 156 | 201 |
JavaScript | 1 | 3 | 3 | 91 |
CSS | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 35 | |
▷ Named functions | 34 | 97.14% |
▷ Anonymous functions | 1 | 2.86% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There are no PNG files in this plugin