Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.44ms] Passed 4 tests
Server-side resources used by Basic Log Viewer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.42 ▼3.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.53 ▼4.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.96 ▼2.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.27 ▼3.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.07 ▲3.30 |
Log viewer /wp-admin/tools.php?page=wpsimpletools-log-viewer | 3.20 | 33.82 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Basic Log Viewer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.72 ▲0.07 | 1.81 ▼0.55 | 50.02 ▲3.95 |
Dashboard /wp-admin | 2,196 ▲22 | 5.51 ▼0.09 | 88.77 ▼21.65 | 37.31 ▼11.10 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▲0.00 | 38.50 ▲2.08 | 37.83 ▲2.62 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 22.98 ▼0.28 | 612.69 ▼84.29 | 66.32 ▲6.39 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.23 ▲0.12 | 99.05 ▼11.13 | 48.94 ▲2.46 |
Log viewer /wp-admin/tools.php?page=wpsimpletools-log-viewer | 770 | 2.03 | 39.56 | 26.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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)
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpsimpletools-log-viewer/wpsimpletools-log-viewer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: php, log file, php logs, logs, log viewer
wpsimpletools-log-viewer/wpsimpletools-log-viewer.php Passed 13 tests
The main file in "Basic Log Viewer" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
Shows default WP / PHP log file from admin interface, gives the possibility to erase it.
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
There were no executable files found in this plugin49 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 11 | 49 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
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 | 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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin