Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.79MB] [CPU: ▼31.82ms] Passed 4 tests
This is a short check of server-side resources used by Unitizr
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 39.97 ▼0.42 |
Dashboard /wp-admin | 3.15 ▼0.15 | 26.11 ▼25.77 |
Posts /wp-admin/edit.php | 3.15 ▼0.21 | 25.83 ▼19.61 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.74 | 28.78 ▼74.09 |
Media Library /wp-admin/upload.php | 3.15 ▼0.08 | 30.30 ▼7.81 |
Unitizr /wp-admin/options-general.php?page=unitizr | 3.15 | 27.27 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Unitizr
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲149 | 13.67 ▼0.57 | 9.92 ▲7.91 | 38.15 ▼5.91 |
Dashboard /wp-admin | 2,214 ▲29 | 5.85 ▲0.01 | 98.91 ▲0.03 | 38.93 ▼0.50 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.06 | 40.13 ▲2.32 | 35.91 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 17.74 ▲0.34 | 636.35 ▼51.01 | 56.87 ▼0.20 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.15 ▼0.06 | 93.04 ▼12.06 | 41.16 ▼5.63 |
Unitizr /wp-admin/options-general.php?page=unitizr | 1,025 | 2.06 | 23.57 | 53.61 |
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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/unitizr/inc/unitizr-adminpage.php+72
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=unitizr
- > Notice in wp-content/plugins/unitizr/inc/unitizr-adminpage.php+226
Trying to access array offset on value of type bool
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/unitizr/inc/index.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=unitizr
- > Javascript (severe) in unknown
/wp-content/plugins/unitizr/lib/unitizr-plugin.js?ver=1 9:2 Uncaught TypeError: jQuery(...).load(...) is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: Screenshot #5 (Additional support documents in admin) image not found
unitizr/unitizr.php 92% from 13 tests
The principal PHP file in "Unitizr" v. 1.0.44 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.2" instead of "4.5")
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 plugin1,281 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 67 | 276 | 754 |
CSS | 3 | 38 | 60 | 519 |
JavaScript | 1 | 1 | 1 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin