Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼4.24ms] Passed 4 tests
A check of server-side resources used by Advanced Personalization
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 196.38 ▲153.81 |
Dashboard /wp-admin | 3.63 ▲0.33 | 47.15 ▼5.35 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 50.67 ▼5.38 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 97.14 ▼5.33 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 38.37 ▼0.90 |
Add Condition /wp-admin/edit.php?post_type=personalization-cnd&page=add-personalization-condition | 3.60 | 41.15 |
All Conditions /wp-admin/edit.php?post_type=personalization-cnd | 3.56 | 34.26 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Advanced Personalization: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.22 ▼0.14 | 1.83 ▼0.31 | 42.58 ▲2.28 |
Dashboard /wp-admin | 2,222 ▲45 | 5.52 ▼0.13 | 85.11 ▼3.71 | 70.84 ▲26.60 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.00 ▲0.04 | 38.07 ▼0.45 | 32.96 ▼5.10 |
Add New Post /wp-admin/post-new.php | 1,558 ▲29 | 23.64 ▲0.48 | 634.44 ▼21.90 | 160.43 ▲103.71 |
Media Library /wp-admin/upload.php | 1,442 ▲48 | 4.24 ▲0.05 | 102.76 ▼5.13 | 63.03 ▲16.19 |
Add Condition /wp-admin/edit.php?post_type=personalization-cnd&page=add-personalization-condition | 3,478 | 8.02 | 164.74 | 103.38 |
All Conditions /wp-admin/edit.php?post_type=personalization-cnd | 1,111 | 1.93 | 34.59 | 32.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=personalization-cnd
- > Notice in wp-content/plugins/personalization-by-flowcraft/personalization.php+725
Trying to get property 'post_type' of non-object
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Tags: There are too many tags (28 tag instead of maximum 10)
personalization-by-flowcraft/personalization.php 85% from 13 tests
Analyzing the main PHP file in "Advanced Personalization" version 1.1.2
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("personalization-by-flowcraft.php" instead of "personalization.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 563 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected3,649 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 392 | 808 | 1,981 |
CSS | 2 | 40 | 51 | 1,467 |
LESS | 1 | 29 | 1 | 143 |
SVG | 2 | 0 | 2 | 39 |
JSON | 2 | 3 | 0 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 85.33 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.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 | 67 | |
▷ Static methods | 20 | 29.85% |
▷ Public methods | 64 | 95.52% |
▷ Protected methods | 2 | 2.99% |
▷ Private methods | 1 | 1.49% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 22 | 100.00% |
▷ Public constants | 22 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 6.33KB | 2.00KB | ▼ 68.39% |