Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method DBWD_Bookmark_Page_Lite::setDefaultData() should not be called statically
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.52ms] Passed 4 tests
Analyzing server-side resources used by DBWD Bookmark Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.99 ▲0.36 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.69 ▼15.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.01 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.13 ▼13.53 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.80 ▲2.61 |
Bookmark Lite /wp-admin/admin.php?page=DBWD_Bookmark_Page_Lite | 3.18 | 32.43 |
DBWD Software /wp-admin/admin.php?page=dbwd-software | 3.18 | 31.20 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 45 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
DBWD_Bookmark_Page_Lite |
DBWD_Menu_Control |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DBWD Bookmark Page
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 14.72 ▲0.30 | 1.67 ▼0.19 | 42.43 ▲0.04 |
Dashboard /wp-admin | 2,220 ▲40 | 5.52 ▼0.15 | 90.81 ▼1.72 | 74.18 ▲30.89 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 1.97 ▲0.03 | 38.47 ▲2.82 | 33.67 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,698 ▲172 | 22.27 ▼0.87 | 764.42 ▲130.92 | 64.99 ▲19.62 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.16 ▼0.05 | 111.23 ▲3.03 | 73.66 ▲21.52 |
Bookmark Lite /wp-admin/admin.php?page=DBWD_Bookmark_Page_Lite | 1,200 | 1.87 | 28.05 | 73.53 |
DBWD Software /wp-admin/admin.php?page=dbwd-software | 806 | 2.19 | 23.66 | 24.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method DBWD_Bookmark_Page_Lite::deactivationMenuControl() should not be called statically
- The uninstall procedure has failed, leaving 8 options in the database
- DBWD_Bookmark_Page_Lite
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- DBWD_Menu_Control
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=DBWD_Bookmark_Page_Lite
- > Deprecated in wp-content/plugins/dbwd-bookmark-page/DBWD Bookmark.php+316
Non-static method DBWD_Bookmark_Page_Lite::data_save() should not be called statically
- > GET request to /wp-admin/admin.php?page=dbwd-software
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method DBWD_Bookmark_Page_Lite::DBWD_custom_menu_page() should not be called statically
SRP Passed 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
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
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
dbwd-bookmark-page/DBWD Bookmark.php 92% from 13 tests
This is the main PHP file of "DBWD Bookmark Page" version 4.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dbwd-bookmark-page.php" instead of "DBWD Bookmark.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin880 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 8 | 465 |
CSS | 1 | 58 | 18 | 351 |
JavaScript | 3 | 9 | 36 | 64 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 12 | |
▷ Static methods | 4 | 33.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gifs/favicon.png | 0.40KB | 0.41KB | 0.00% |
screenshot-1.png | 147.66KB | 44.76KB | ▼ 69.69% |