Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲3.49ms] Passed 4 tests
A check of server-side resources used by Database Table Overview and Logs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.60 | 44.39 ▲1.75 |
Dashboard /wp-admin | 3.90 ▲0.60 | 52.85 ▲4.93 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 49.30 ▲4.77 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.54 | 87.62 ▲2.52 |
Media Library /wp-admin/upload.php | 3.66 ▲0.44 | 37.08 ▲5.13 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 4.01 | 40.17 |
Server storage [IO: ▲5.70MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 279 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_wpdtol_database_table_overview_logs |
New WordPress options |
---|
theysaidso_admin_options |
fs_accounts |
wpdtol_database_table_overview_logs_version |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
fs_debug_mode |
can_compress_scripts |
widget_recent-comments |
fs_active_plugins |
Browser metrics Passed 4 tests
An overview of browser requirements for Database Table Overview and Logs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲77 | 13.20 ▼1.17 | 1.78 ▼0.27 | 31.82 ▼17.46 |
Dashboard /wp-admin | 2,240 ▲51 | 5.83 ▲0.91 | 116.24 ▼1.14 | 45.67 ▲1.30 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.02 ▲0.04 | 36.30 ▼4.38 | 34.63 ▼2.77 |
Add New Post /wp-admin/post-new.php | 1,532 ▲12 | 23.07 ▼0.04 | 667.09 ▲22.01 | 65.31 ▲6.77 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.21 ▼0.03 | 96.83 ▼3.32 | 43.62 ▼1.07 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,089 | 1.85 | 35.83 | 41.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% 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 cannot be uninstalled
- > Notice in wp-content/plugins/wpdtol-database-table-overview-logs/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 1 table
- wp_wpdtol_database_table_overview_logs
- Zombie WordPress options detected upon uninstall: 10 options
- widget_theysaidso_widget
- fs_accounts
- wpdtol_database_table_overview_logs_version
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- fs_active_plugins
- fs_debug_mode
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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: database, database log, log, database table, table
wpdtol-database-table-overview-logs/wpdtol-database-table-overview-logs.php Passed 13 tests
The principal PHP file in "Database Table Overview and Logs" v. 1.1.2 is loaded by WordPress automatically on each request
24 characters long description:
WordPress Plugin by 99w.
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin73,980 lines of code in 221 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 118 | 8,030 | 17,234 | 33,492 |
JavaScript | 49 | 8,082 | 20,796 | 32,168 |
CSS | 48 | 257 | 79 | 7,866 |
Sass | 3 | 61 | 10 | 388 |
XML | 2 | 9 | 3 | 55 |
JSON | 1 | 0 | 0 | 11 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 92.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 2 | 4.08% |
▷ Concrete classes | 47 | 95.92% |
▷ Final classes | 0 | 0.00% |
Methods | 1,275 | |
▷ Static methods | 198 | 15.53% |
▷ Public methods | 885 | 69.41% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 373 | 29.25% |
Functions | 99 | |
▷ Named functions | 99 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libraries/DataTables/DataTables-1.13.2/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
libraries/DataTables/DataTables-1.13.2/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
libraries/DataTables/DataTables-1.13.2/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
freemius/assets/img/wpdtol-database-table-overview-logs.png | 34.18KB | 19.91KB | ▼ 41.75% |
libraries/DataTables/DataTables-1.13.2/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |