Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-russian-horoscope/index.php+153
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.47ms] Passed 4 tests
A check of server-side resources used by WP Russian Horoscope
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.58 ▼1.04 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.46 ▼0.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.94 ▼1.87 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.67 ▲1.25 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.14 ▲2.65 |
Гороскоп /wp-admin/options-general.php?page=ruhoroscope | 3.23 | 29.19 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
wp-ruhoroscope-dateUpdate |
widget_theysaidso_widget |
wp-ruhoroscope-data |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Russian Horoscope: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.14 ▼0.22 | 1.65 ▼0.45 | 38.38 ▼9.02 |
Dashboard /wp-admin | 2,196 ▲19 | 5.58 ▼0.03 | 94.59 ▼0.89 | 40.09 ▲1.81 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.95 ▼0.01 | 38.89 ▲2.05 | 34.77 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.51 ▲0.16 | 649.00 ▼40.45 | 44.75 ▼18.36 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.03 | 95.51 ▼6.70 | 43.55 ▼2.49 |
Гороскоп /wp-admin/options-general.php?page=ruhoroscope | 1,066 | 2.32 | 24.40 | 38.17 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- wp-ruhoroscope-dateUpdate
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- wp-ruhoroscope-data
- db_upgraded
- widget_theysaidso_widget
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 no errors were found, this is by no means an exhaustive test
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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-russian-horoscope/index.php:62
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: These screenshots do not have images: #1 (Админ-панель), #2 (Вид на сайте), #3 (Пример вставки)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wp-russian-horoscope/index.php 92% from 13 tests
The entry point to "WP Russian Horoscope" version 1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-russian-horoscope.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin197 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 68 | 197 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 13.21KB | 6.55KB | ▼ 50.41% |
screenshot-2.png | 39.11KB | 18.97KB | ▼ 51.51% |
screenshot-1.png | 60.97KB | 28.85KB | ▼ 52.68% |