Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.73MB] [CPU: ▼45.60ms] Passed 4 tests
Server-side resources used by Personyze Wordpress Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.26 ▼1.20 | 11.55 ▼27.77 |
Dashboard /wp-admin | 2.28 ▼1.03 | 11.48 ▼34.80 |
Posts /wp-admin/edit.php | 2.28 ▼1.08 | 11.46 ▼36.87 |
Add New Post /wp-admin/post-new.php | 2.28 ▼3.61 | 10.04 ▼82.94 |
Media Library /wp-admin/upload.php | 2.28 ▼0.95 | 10.78 ▼23.56 |
Personyze Configuration /wp-admin/options-general.php?page=personyze-config | 3.21 | 31.13 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Personyze Wordpress Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.27 ▼1.31 | 1.68 ▼0.12 | 44.25 ▲3.24 |
Dashboard /wp-admin | 2,213 ▲24 | 5.79 ▲0.90 | 99.76 ▼15.64 | 39.65 ▼4.29 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.05 ▲0.07 | 39.79 ▲3.72 | 35.16 ▼0.96 |
Add New Post /wp-admin/post-new.php | 1,526 ▼7 | 17.61 ▼5.51 | 582.82 ▼106.55 | 49.84 ▼7.17 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.23 ▲0.02 | 104.57 ▲0.49 | 43.00 ▼1.71 |
Personyze Configuration /wp-admin/options-general.php?page=personyze-config | 827 | 2.01 | 23.54 | 26.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/personyze-web-analytics/personyze-web-analytics.php+385
Undefined index: page
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #2 in personyze-web-analytics/assets to your readme.txt
personyze-web-analytics/personyze-web-analytics.php Passed 13 tests
The primary PHP file in "Personyze Wordpress Plugin" version 0.20 is used by WordPress to initiate all plugin functionality
60 characters long description:
Integrates the site with Personyze personalization platform.
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 detected390 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 35 | 390 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 1 | |
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 | 17 | |
▷ Named functions | 1 | 5.88% |
▷ Anonymous functions | 16 | 94.12% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/integration-widget.png | 16.75KB | 6.43KB | ▼ 61.60% |