Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▲4.47ms] Passed 4 tests
This is a short check of server-side resources used by Digital Board
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.45 | 49.69 ▲4.99 |
Dashboard /wp-admin | 3.80 ▲0.49 | 63.08 ▲8.90 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 60.32 ▲5.98 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 106.15 ▲7.80 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 39.98 ▼0.91 |
New Soul /wp-admin/post-new.php?post_type=dboard_soul | 3.82 | 58.12 |
Digital Board /wp-admin/options-general.php?page=digital_board_settings | 3.80 | 293.16 |
Souls /wp-admin/edit.php?post_type=dboard_soul | 3.77 | 48.96 |
New Message /wp-admin/post-new.php?post_type=dboard_msg | 3.83 | 55.22 |
Screens /wp-admin/edit.php?post_type=dboard_screen | 3.77 | 46.03 |
New Screen /wp-admin/post-new.php?post_type=dboard_screen | 3.79 | 52.80 |
Messages /wp-admin/edit.php?post_type=dboard_msg | 3.77 | 44.40 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 8 new options
New WordPress options |
---|
dboard_soul |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
dboard_basic |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Digital Board
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,037 ▲276 | 14.73 ▲0.45 | 1.92 ▼0.04 | 43.35 ▼3.46 |
Dashboard /wp-admin | 2,431 ▲257 | 6.44 ▲0.84 | 127.23 ▲28.09 | 44.23 ▼3.27 |
Posts /wp-admin/edit.php | 2,365 ▲268 | 3.60 ▲1.62 | 56.82 ▲17.21 | 34.74 ▼5.05 |
Add New Post /wp-admin/post-new.php | 1,611 ▲85 | 23.20 ▼0.47 | 642.98 ▼65.83 | 36.05 ▼22.58 |
Media Library /wp-admin/upload.php | 1,502 ▲99 | 4.35 ▲0.12 | 88.54 ▼24.38 | 47.32 ▼2.66 |
New Soul /wp-admin/post-new.php?post_type=dboard_soul | 2,269 | 7.77 | 175.21 | 66.32 |
Digital Board /wp-admin/options-general.php?page=digital_board_settings | 1,240 | 3.56 | 49.15 | 28.79 |
Souls /wp-admin/edit.php?post_type=dboard_soul | 1,332 | 3.50 | 46.61 | 27.22 |
New Message /wp-admin/post-new.php?post_type=dboard_msg | 2,265 | 7.74 | 172.14 | 57.36 |
Screens /wp-admin/edit.php?post_type=dboard_screen | 1,343 | 3.52 | 45.73 | 27.92 |
New Screen /wp-admin/post-new.php?post_type=dboard_screen | 1,811 | 3.84 | 71.85 | 32.98 |
Messages /wp-admin/edit.php?post_type=dboard_msg | 1,338 | 3.45 | 52.87 | 29.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- dboard_basic
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- dboard_soul
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/digital-board/lib/hebcal-test.php
- > /wp-content/plugins/digital-board/dboard.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digital-board/mb-memorial-day.php:185
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digital-board/pagetemplater.php:167
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digital-board/mb-msgs.php:79
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/digital-board/checklist-pages.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/digital-board/shortcodes.php:110
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digital-board/templates/dboard-template-2.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digital-board/templates/dboard-template-1.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
digital-board/dboard.php 92% from 13 tests
The primary PHP file in "Digital Board" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("digital-board.php" instead of "dboard.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
Everything looks great! No dangerous files found in this plugin3,130 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 468 | 392 | 2,211 |
CSS | 5 | 34 | 36 | 579 |
JavaScript | 3 | 72 | 82 | 290 |
PO File | 1 | 19 | 18 | 44 |
Markdown | 1 | 5 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 14.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 139 | |
▷ Static methods | 55 | 39.57% |
▷ Public methods | 138 | 99.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.72% |
Functions | 30 | |
▷ Named functions | 29 | 96.67% |
▷ Anonymous functions | 1 | 3.33% |
Constants | 14 | |
▷ Global constants | 14 | 100.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
There are no PNG files in this plugin