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
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.00ms] Passed 4 tests
Analyzing server-side resources used by WPCondify - Personalize your website contents
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.38 ▼12.15 |
Dashboard /wp-admin | 3.61 ▲0.31 | 50.43 ▼7.20 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 55.03 ▲4.89 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 96.93 ▲6.19 |
Media Library /wp-admin/upload.php | 3.52 ▲0.30 | 40.00 ▲2.47 |
Create Trigger /wp-admin/post-new.php?post_type=wpcondify | 3.58 | 48.21 |
WPCondify /wp-admin/admin.php?page=wpcondify | 3.44 | 37.01 |
All Triggers /wp-admin/edit.php?post_type=wpcondify | 3.58 | 43.37 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WPCondify - Personalize your website contents
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 14.36 ▲0.01 | 2.33 ▲0.64 | 15.35 ▼31.32 |
Dashboard /wp-admin | 2,274 ▲97 | 5.65 ▲0.04 | 93.54 ▼0.40 | 41.23 ▼9.35 |
Posts /wp-admin/edit.php | 2,176 ▲73 | 2.05 ▲0.01 | 42.33 ▲0.77 | 36.17 ▼0.60 |
Add New Post /wp-admin/post-new.php | 6,269 ▲4,743 | 21.21 ▼2.44 | 1,596.42 ▲931.67 | 72.68 ▼5.08 |
Media Library /wp-admin/upload.php | 1,479 ▲85 | 4.23 ▲0.05 | 99.98 ▲0.36 | 43.19 ▼1.13 |
Create Trigger /wp-admin/post-new.php?post_type=wpcondify | 1,651 | 3.48 | 63.44 | 70.25 |
WPCondify /wp-admin/admin.php?page=wpcondify | 879 | 2.51 | 30.49 | 31.32 |
All Triggers /wp-admin/edit.php?post_type=wpcondify | 1,145 | 2.81 | 34.02 | 28.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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 | 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 take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(WPCONDIFY_DIR_PATHincludes/controls/maker.php): failed to open stream: No such file or directory in wp-content/plugins/wpcondify/libs/condition.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Condify\\Controls\\Repeater_Control_Base' not found in wp-content/plugins/wpcondify/includes/controls/operating-system.php:5
- > PHP Warning
Use of undefined constant WPCONDIFY_DIR_PATH - assumed 'WPCONDIFY_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpcondify/libs/condition.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'WPCONDIFY_DIR_PATHincludes/controls/maker.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpcondify/libs/condition.php on line 7
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=wpcondify
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: _.debounce is not a function" "TypeError: _.debounce is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/js/post.min.js?ver=6.3.1:2:18967)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=wpcondify
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: _.debounce is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
wpcondify/wpcondify.php Passed 13 tests
Analyzing the main PHP file in "WPCondify - Personalize your website contents" version 1.0.0
33 characters long description:
Personalize your website contents
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin10,532 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 7,417 |
PHP | 51 | 596 | 821 | 2,923 |
JavaScript | 4 | 40 | 107 | 139 |
Sass | 3 | 3 | 1 | 38 |
CSS | 3 | 0 | 23 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 6.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 47 | |
▷ Abstract classes | 3 | 6.38% |
▷ Concrete classes | 44 | 93.62% |
▷ Final classes | 1 | 2.27% |
Methods | 164 | |
▷ Static methods | 27 | 16.46% |
▷ Public methods | 143 | 87.20% |
▷ Protected methods | 20 | 12.20% |
▷ Private methods | 1 | 0.61% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 24 | |
▷ Global constants | 7 | 29.17% |
▷ Class constants | 17 | 70.83% |
▷ Public constants | 17 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin