Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.38ms] Passed 4 tests
This is a short check of server-side resources used by Error Log Viewer by BestWebSoft
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.33 ▼4.11 |
Dashboard /wp-admin | 3.37 ▲0.03 | 46.44 ▼12.68 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.48 ▲4.23 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 86.73 ▼8.96 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.82 ▲5.61 |
Server storage [IO: ▲5.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 121 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
bstwbsftwppdtplgns_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Error Log Viewer by BestWebSoft
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.41 ▼1.18 | 1.64 ▼0.02 | 40.60 ▼1.67 |
Dashboard /wp-admin | 2,243 ▲51 | 5.89 ▲0.91 | 110.79 ▲2.77 | 39.93 ▼5.23 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.05 ▲0.05 | 40.12 ▲3.38 | 35.21 ▲1.93 |
Add New Post /wp-admin/post-new.php | 1,558 ▲15 | 23.28 ▲0.19 | 651.28 ▲54.67 | 58.83 ▲8.68 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.23 ▼0.00 | 97.84 ▼0.90 | 44.09 ▲1.92 |
Settings /wp-admin/rrrlgvwr.php | 26 | 0.44 | 0.10 | 14.12 |
BWS Panel /wp-admin/rrrlgvwr.php?page=rrrlgvwr-bws-panel | 26 | 0.44 | 0.10 | 6.18 |
Log Monitor /wp-admin/rrrlgvwr-monitor.php | 26 | 0.44 | 0.06 | 6.26 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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 50% 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 items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/error-log-viewer/bws_menu/class-bws-settings.php:1452
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/error-log-viewer/bws_menu/product_list.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/error-log-viewer/error-log-viewer.php:1305
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/error-log-viewer/error-log-viewer.php on line 1014
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/error-log-viewer/includes/class-rrrlgvwr-settings.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/rrrlgvwr.php
- > Network (severe)
wp-admin/rrrlgvwr.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/rrrlgvwr.php?page=rrrlgvwr-bws-panel
- > Network (severe)
wp-admin/rrrlgvwr.php?page=rrrlgvwr-bws-panel - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/rrrlgvwr-monitor.php
- > Network (severe)
wp-admin/rrrlgvwr-monitor.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (Settings page for create log file.), #2 (Settings page for selecting viewed file.), #3 (Settings page for sending e-mail.), #4 (PHP error log monitor.), #5 (WP error log monitor.)
error-log-viewer/error-log-viewer.php Passed 13 tests
The entry point to "Error Log Viewer by BestWebSoft" version 1.1.2 is a PHP file that has certain tags in its header comment area
89 characters long description:
Get latest error log messages to diagnose website problems. Define and fix issues faster.
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
Good job! No executable or dangerous file extensions detected19,829 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 3,531 | 5,077 | 8,136 |
CSS | 10 | 189 | 277 | 5,548 |
PHP | 9 | 524 | 773 | 5,477 |
JavaScript | 7 | 30 | 110 | 518 |
SVG | 4 | 0 | 0 | 150 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 71.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 9.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.65% |
Functions | 80 | |
▷ Named functions | 80 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
64 PNG files occupy 3.36MB with 0.76MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
bws_menu/images/tooltip_icons.png | 0.81KB | 0.82KB | 0.00% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
bws_menu/css/jquery-ui-styles/1.11.4/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_75_dadada_1x400.png | 0.16KB | 0.16KB | 0.00% |