Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/wp-maintenance-vek/Wp_Maintenance_vek.php+36
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.19MB] [CPU: ▼5.14ms] Passed 4 tests
This is a short check of server-side resources used by WP Maintenance-vek
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 38.05 ▼2.38 |
Dashboard /wp-admin | 3.50 ▲0.19 | 45.38 ▼5.41 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 47.94 ▼2.34 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 83.21 ▼10.41 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.62 ▲4.16 |
Server storage [IO: ▲4.36MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/wp-maintenance-vek/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/wp-maintenance-vek/assets/img/\320\227\320\260\320\263\320\276\320\273\320\276\320\262\320\276\320\272 \320\277\321\200\320\276\320\265\320\272\321\202\320\260.gif"
Filesystem: 66 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_db_vek_subscriber_email |
New WordPress options |
---|
theysaidso_admin_options |
db_vek |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Maintenance-vek
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.29 ▼1.01 | 1.83 ▼0.09 | 40.49 ▼7.24 |
Dashboard /wp-admin | 2,219 ▲31 | 5.80 ▼0.10 | 103.82 ▲2.54 | 39.71 ▼8.47 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.03 ▲0.04 | 40.31 ▲3.28 | 36.77 ▲1.75 |
Add New Post /wp-admin/post-new.php | 1,546 ▲26 | 23.45 ▲0.15 | 667.87 ▲2.40 | 65.77 ▲9.55 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.23 ▲0.02 | 91.97 ▼8.25 | 44.32 ▼3.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WP_Maintenance_vek::Plugin_deactivation() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 13× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/wp-maintenance-vek/includes/index.php
- > /wp-content/plugins/wp-maintenance-vek/assets/js/index.php
- > /wp-content/plugins/wp-maintenance-vek/assets/img/index.php
- > /wp-content/plugins/wp-maintenance-vek/index.php
- > /wp-content/plugins/wp-maintenance-vek/languages/index.php
- > /wp-content/plugins/wp-maintenance-vek/assets/js/datetimepicker-master/index.php
- > /wp-content/plugins/wp-maintenance-vek/assets/fonts/index.php
- > /wp-content/plugins/wp-maintenance-vek/assets/css/skins/index.php
- > /wp-content/plugins/wp-maintenance-vek/assets/js/jquery.noty/index.php
- > /wp-content/plugins/wp-maintenance-vek/assets/css/datetimepicker-master/index.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-maintenance-vek/Wp_Maintenance_vek.php:23
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-maintenance-vek/includes/home.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-maintenance-vek/includes/admin.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: customize page, countdown timer, maintenance, administration, login
wp-maintenance-vek/Wp_Maintenance_vek.php 92% from 13 tests
The principal PHP file in "WP Maintenance-vek" v. 0.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-maintenance-vek.php" instead of "Wp_Maintenance_vek.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected21,422 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 765 | 102 | 14,505 |
JavaScript | 14 | 980 | 350 | 4,817 |
PHP | 4 | 61 | 109 | 1,018 |
SVG | 2 | 0 | 0 | 853 |
PO File | 1 | 97 | 149 | 229 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 56.00 |
▷ Minimum class complexity | 56.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 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 | 6 | |
▷ Global constants | 6 | 100.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
No PNG images were found in this plugin