Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.01ms] Passed 4 tests
This is a short check of server-side resources used by Unicheck
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 33.72 ▼4.37 |
Dashboard /wp-admin | 3.40 ▲0.05 | 46.17 ▼14.94 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.81 ▲2.47 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.44 ▼10.18 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 36.60 ▲1.46 |
Настройки плагина Unicheck /wp-admin/options-general.php?page=sendPostPublishedInfo | 3.28 | 31.96 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 18 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
unchck_bill_text |
unchck_spam_text |
unchck_znaktype_text |
unchck_except_author_text |
unchck_paytype_text |
theysaidso_admin_options |
widget_theysaidso_widget |
unchck_normaznak_text |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Unicheck
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.22 ▼1.16 | 2.01 ▲0.24 | 40.45 ▼3.37 |
Dashboard /wp-admin | 2,207 ▲19 | 5.76 ▼0.14 | 102.81 ▼14.45 | 40.54 ▼5.97 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 35.51 ▼0.28 | 34.87 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.20 ▲0.17 | 700.70 ▲34.29 | 59.09 ▼0.26 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▲0.02 | 96.17 ▼0.74 | 42.08 ▲0.25 |
Настройки плагина Unicheck /wp-admin/options-general.php?page=sendPostPublishedInfo | 1,008 | 2.15 | 23.98 | 27.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 18 options in the database
- unchck_znaktype_text
- unchck_normaznak_text
- unchck_bill_text
- unchck_fixstavka_text
- unchck_stavka_text
- unchck_paytype_text
- unchck_sovpad_text
- unchck_spam_text
- db_upgraded
- unchck_water_text
- ...
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/unicheck/unicheck.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
- Contributors: There were no tags found
- Tags: There were no tags found
unicheck/unicheck.php 92% from 13 tests
The main file in "Unicheck" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 202 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
Good job! No executable or dangerous file extensions detected435 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 162 | 94 | 435 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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