Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.26ms] Passed 4 tests
This is a short check of server-side resources used by WSB HUB3
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.57 ▼0.81 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.92 ▼0.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.48 ▼1.66 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.05 ▼6.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.97 ▼0.24 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WSB HUB3: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲48 | 13.23 ▼1.14 | 2.04 ▼0.03 | 40.40 ▲1.97 |
Dashboard /wp-admin | 2,205 ▲20 | 5.84 ▲0.97 | 101.62 ▼16.54 | 39.43 ▼5.16 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▲0.03 | 34.92 ▼4.94 | 33.64 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,519 ▲5 | 17.61 ▼5.92 | 641.73 ▼29.39 | 49.86 ▼6.63 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.22 ▼0.01 | 96.07 ▼1.27 | 43.56 ▼1.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
4 plugin tags: hub3, uplatnica, woocommerce, barcode
wsb-hub3/wsb-hub3.php 92% from 13 tests
The primary PHP file in "WSB HUB3" version 2.0.5 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,993 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 290 | 592 | 1,645 |
PO File | 1 | 129 | 140 | 284 |
CSS | 2 | 3 | 0 | 37 |
JavaScript | 2 | 3 | 0 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 29.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 6 | 7.59% |
▷ Public methods | 71 | 89.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 10.13% |
Functions | 4 | |
▷ Named functions | 4 | 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
There are no PNG files in this plugin