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.06MB] [CPU: ▼5.57ms] Passed 4 tests
Analyzing server-side resources used by detabess
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.50 ▲1.51 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.65 ▼4.02 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 46.51 ▼4.96 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 88.97 ▼14.79 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.81 ▲6.08 |
Registration List /wp-admin/admin.php?page=dtbs_list | 3.25 | 30.46 |
detabess /wp-admin/admin.php?page=detabess | 3.25 | 29.12 |
Manage items /wp-admin/admin.php?page=dtbs_item_mng | 3.25 | 30.37 |
Resister detabess /wp-admin/admin.php?page=dtbs_reg | 3.23 | 30.38 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_dtbs_detail |
wp_dtbs_target |
wp_dtbs_item |
wp_dtbs_match |
wp_dtbs |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_dtbs_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for detabess
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲174 | 14.06 ▼0.49 | 8.81 ▲6.91 | 42.50 ▲1.03 |
Dashboard /wp-admin | 2,251 ▲63 | 4.92 ▲0.04 | 116.11 ▲13.88 | 42.59 ▼3.25 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.27 ▲0.22 | 36.45 ▼6.98 | 34.04 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,563 ▲30 | 23.43 ▲0.31 | 661.12 ▲12.36 | 49.06 ▼5.31 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.34 ▲0.17 | 99.08 ▼1.25 | 43.74 ▼1.71 |
Registration List /wp-admin/admin.php?page=dtbs_list | 823 | 1.85 | 25.84 | 22.91 |
detabess /wp-admin/admin.php?page=detabess | 1,348 | 1.91 | 27.85 | 38.74 |
Manage items /wp-admin/admin.php?page=dtbs_item_mng | 827 | 1.86 | 25.37 | 22.98 |
Resister detabess /wp-admin/admin.php?page=dtbs_reg | 1,392 | 2.25 | 34.32 | 26.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_dtbs_widget
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=dtbs_reg
- > Notice in wp-content/plugins/detabess/detabess-reg.php+452
Undefined variable: cd_id
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/detabess/detabess-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/detabess/detabess-functions.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: relation, database, data, search, list
detabess/detabess.php Passed 13 tests
The main PHP script in "detabess" version 1.0.4 is automatically included on every request by WordPress
102 characters long description:
Once you customized your original search lists on posts, convenience level of searching will boost up.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin4,261 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 530 | 433 | 2,361 |
JavaScript | 2 | 164 | 36 | 1,024 |
CSS | 2 | 144 | 2 | 864 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 9.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 67 | |
▷ Named functions | 67 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
34 compressed PNG files occupy 0.93MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/info/lang/ja/007.png | 36.76KB | 38.84KB | 0.00% |
images/info/lang/ko_KR/004.png | 42.58KB | 44.97KB | 0.00% |
images/info/common/bg_visual.png | 8.32KB | 6.80KB | ▼ 18.29% |
images/info/lang/en_US/004.png | 50.64KB | 53.00KB | 0.00% |
images/info/lang/de_DE/006.png | 54.27KB | 56.79KB | 0.00% |