Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.85ms] Passed 4 tests
Analyzing server-side resources used by Database for CF7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.36 ▼0.16 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.95 ▼11.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 55.79 ▲2.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.47 ▼18.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.76 ▼1.56 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Database for CF7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▼0.15 | 2.01 ▲0.09 | 42.93 ▲0.70 |
Dashboard /wp-admin | 2,198 ▲21 | 5.60 ▼0.00 | 84.52 ▼10.65 | 42.36 ▼4.44 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.06 | 35.82 ▼7.90 | 34.71 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.13 ▲5.62 | 659.74 ▼37.99 | 51.34 ▼10.75 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.21 ▼0.03 | 98.83 ▼5.55 | 42.97 ▼3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
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
5 plugin tags: contact form 7, database, save contact form, cf7, cf7 database
database-for-cf7/database-for-cf7.php 92% from 13 tests
The main file in "Database for CF7" v. 1.2.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected857 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 12 | 21 | 467 |
PHP | 3 | 62 | 33 | 230 |
JSON | 2 | 0 | 0 | 84 |
PO File | 1 | 17 | 30 | 54 |
CSS | 4 | 6 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 14 | |
▷ Named functions | 1 | 7.14% |
▷ Anonymous functions | 13 | 92.86% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/datatables/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
libs/datatables/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
libs/datatables/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
libs/datatables/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
libs/datatables/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |