Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.21ms] Passed 4 tests
Server-side resources used by Horozont
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.27 ▼13.92 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.26 ▼2.20 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.80 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.20 ▼11.70 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.05 ▼0.82 |
Гороскоп /wp-admin/options-general.php?page=horozont | 3.24 | 29.10 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Horozont
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.48 ▲0.17 | 2.04 ▲0.04 | 44.82 ▲2.20 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼1.05 | 107.60 ▲2.33 | 38.49 ▼6.08 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.01 | 35.65 ▲0.56 | 32.73 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 22.97 ▼0.13 | 651.66 ▼21.61 | 60.66 ▲7.31 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.25 ▲0.05 | 96.30 ▲0.13 | 43.05 ▼2.63 |
Гороскоп /wp-admin/options-general.php?page=horozont | 985 | 2.05 | 22.32 | 37.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/horozont/horozont.php:74
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Админ-панель), #3 (Пример вставки)
horozont/horozont.php Passed 13 tests
"Horozont" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
111 characters long description:
Плагин для отображения ежедневного гороскопа по категориям.
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 detected334 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 56 | 77 | 320 |
SVG | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 28.57% |
▷ Protected methods | 10 | 71.43% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin