Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.13ms] Passed 4 tests
Analyzing server-side resources used by Secure DB Connection
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.70 ▲3.52 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.81 ▼18.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.99 ▲2.21 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.93 ▼12.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.37 ▼0.00 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- The plugin illegally modified 1 file (5.80KB) outside of "wp-content/plugins/secure-db-connection/" and "wp-content/uploads/"
- (new file) wp-content/db.php
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Secure DB Connection
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.34 ▼0.04 | 1.79 ▼0.00 | 44.65 ▼1.58 |
Dashboard /wp-admin | 2,200 ▲29 | 5.51 ▼0.06 | 84.73 ▼4.24 | 38.96 ▼5.10 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.00 | 34.34 ▼3.88 | 33.34 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.31 ▼4.83 | 658.11 ▼16.89 | 68.71 ▲6.21 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.19 ▼0.02 | 105.76 ▲7.05 | 48.97 ▲4.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: secure, db, ssl, encrypted, mysql
secure-db-connection/secure-db-connection.php Passed 13 tests
The primary PHP file in "Secure DB Connection" version 1.1.5 is used by WordPress to initiate all plugin functionality
58 characters long description:
Sets SSL keys and certs for encrypted database connections
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected351 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 75 | 75 | 341 |
CSS | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 17.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 19 | |
▷ Static methods | 6 | 31.58% |
▷ Public methods | 13 | 68.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 31.58% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
PNG images were not found in this plugin