Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.51ms] Passed 4 tests
Analyzing server-side resources used by dbViewer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.13 ▼0.88 |
Dashboard /wp-admin | 3.32 ▼0.02 | 43.58 ▼15.77 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 46.84 ▲2.65 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.89 ▼3.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 33.90 ▼5.71 |
About /wp-admin/admin.php?page=dbViewer-about | 3.21 | 29.77 |
dbViewer /wp-admin/admin.php?page=dbviewer | 3.22 | 29.78 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for dbViewer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.37 ▼0.17 | 1.71 ▲0.19 | 37.34 ▼0.13 |
Dashboard /wp-admin | 2,225 ▲44 | 5.62 ▼0.11 | 85.25 ▼14.47 | 36.29 ▼5.66 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.02 ▲0.01 | 40.04 ▲4.43 | 35.59 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.06 ▼0.13 | 620.32 ▼24.65 | 51.10 ▼2.64 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.19 ▼0.05 | 92.95 ▼32.68 | 42.09 ▼9.15 |
About /wp-admin/admin.php?page=dbViewer-about | 879 | 1.99 | 26.19 | 30.28 |
dbViewer /wp-admin/admin.php?page=dbviewer | 882 | 1.96 | 21.24 | 22.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dbviewer/views/dbViewer_about_display.php
- 2× 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/dbviewer/dbViewer.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/dbviewer/views/dbViewer_menu_display.php:40
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=dbViewer-about
- > Network (severe)
https://www.paypalobjects.com/en_ZA/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2 in dbviewer/assets to your readme.txt
dbviewer/dbViewer.php 77% from 13 tests
The main PHP script in "dbViewer" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: The principal plugin file should be the same as the plugin slug ("dbviewer.php" instead of "dbViewer.php")
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin120 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 39 | 94 | 120 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin