Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.75ms] Passed 4 tests
Server-side resources used by Database Access with Adminer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.74 ▼3.07 |
Dashboard /wp-admin | 3.47 ▲0.17 | 45.47 ▼7.26 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 49.09 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 83.70 ▼16.48 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.87 ▲1.82 |
Adminer /wp-admin/tools.php?page=db-access-adminer | 3.36 | 32.93 |
Database Access with Adminer /wp-admin/options-general.php?page=db-access-adminer-options | 3.36 | 37.68 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Database Access with Adminer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.32 ▼1.21 | 1.86 ▲0.01 | 42.99 ▼0.58 |
Dashboard /wp-admin | 2,217 ▲26 | 4.85 ▼1.05 | 110.26 ▲7.66 | 40.20 ▼1.50 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.01 | 40.63 ▲1.06 | 36.68 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,520 ▼22 | 17.67 ▼0.75 | 685.80 ▲75.39 | 56.86 ▲8.40 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.18 ▼0.06 | 95.34 ▼7.90 | 39.90 ▼5.50 |
Adminer /wp-admin/tools.php?page=db-access-adminer | 759 | 2.01 | 23.49 | 23.80 |
Database Access with Adminer /wp-admin/options-general.php?page=db-access-adminer-options | 884 | 2.02 | 22.12 | 30.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/db-access-adminer/index.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Lev0\\DbAccessAdminer\\add_action() in wp-content/plugins/db-access-adminer/db-access-adminer.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: sql, database, recovery, import
db-access-adminer/db-access-adminer.php 92% from 13 tests
This is the main PHP file of "Database Access with Adminer" version 2.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Requires PHP: Required version must match the one declared in readme.txt ("5.6.0" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin25,434 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 734 | 1,401 | 19,737 |
CSS | 8 | 736 | 194 | 5,697 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.74 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 9 | 33.33% |
▷ Anonymous functions | 18 | 66.67% |
Constants | 14 | |
▷ Global constants | 4 | 28.57% |
▷ Class constants | 10 | 71.43% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin