Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.09ms] Passed 4 tests
This is a short check of server-side resources used by Board Document Manager from CHUHPL
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.86 ▼2.99 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.56 ▼13.98 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.53 ▼4.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.82 ▼7.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.98 ▲2.14 |
View & Delete /wp-admin/admin.php?page=bdm_mainShow | 3.19 | 30.58 |
Recent Log /wp-admin/admin.php?page=bdm_mainRecent | 3.27 | 31.63 |
Add Doc /wp-admin/admin.php?page=bdm_main | 3.26 | 35.44 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_boardDocumentManager |
New WordPress options |
---|
widget_theysaidso_widget |
boardDocumentManager_db_version |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Board Document Manager from CHUHPL
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.33 ▼0.02 | 1.61 ▼0.11 | 38.40 ▼3.35 |
Dashboard /wp-admin | 2,229 ▲52 | 5.56 ▼0.11 | 88.61 ▼9.78 | 37.42 ▼6.81 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.03 ▼0.00 | 35.09 ▼3.31 | 33.93 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.04 ▼0.52 | 602.73 ▼38.04 | 60.88 ▼5.12 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.21 ▲0.05 | 99.53 ▼6.67 | 43.35 ▲0.29 |
View & Delete /wp-admin/admin.php?page=bdm_mainShow | 854 | 2.00 | 25.20 | 25.56 |
Recent Log /wp-admin/admin.php?page=bdm_mainRecent | 846 | 2.00 | 25.22 | 27.34 |
Add Doc /wp-admin/admin.php?page=bdm_main | 1,126 | 2.01 | 25.72 | 34.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/board-document-manager-from-chuhpl/board_document_manager_from_CHUHPL.php+124
rmdir(wp-content/uploads/board-document-manager-from-chuhpl): Directory not empty
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bdm_mainShow
- > Notice in wp-content/plugins/board-document-manager-from-chuhpl/templates/form_list.php+8
Undefined index: type
- > GET request to /wp-admin/admin.php?page=bdm_mainShow
- > Notice in wp-content/plugins/board-document-manager-from-chuhpl/bdmView.php+112
Undefined index: action
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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'bdmMain' not found in wp-content/plugins/board-document-manager-from-chuhpl/bdmAdd.php:2
- > PHP Fatal error
Uncaught Error: Class 'bdmMain' not found in wp-content/plugins/board-document-manager-from-chuhpl/bdmView.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/board-document-manager-from-chuhpl/board_document_manager_from_CHUHPL.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/board-document-manager-from-chuhpl/templates/show_shortcode.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Requires at least: Version format is invalid
board-document-manager-from-chuhpl/board_document_manager_from_CHUHPL.php 92% from 13 tests
The main PHP file in "Board Document Manager from CHUHPL" ver. 1.9.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("board-document-manager-from-chuhpl.php" instead of "board_document_manager_from_CHUHPL.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 plugin959 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 175 | 97 | 909 |
CSS | 1 | 1 | 2 | 50 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 14.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 21 | 87.50% |
▷ Protected methods | 3 | 12.50% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG images were found in this plugin