Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.88ms] Passed 4 tests
A check of server-side resources used by SubsBase Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.99 ▼1.87 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.32 ▲0.87 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 45.82 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 85.20 ▼7.90 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.07 ▼0.37 |
SubsBase Integration Settings /wp-admin/options-general.php?page=sbis_embed_settings | 3.61 | 33.88 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
SubsBase Integration: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.29 ▼0.89 | 1.79 ▼0.02 | 45.12 ▲1.67 |
Dashboard /wp-admin | 2,213 ▲28 | 4.84 ▼0.03 | 102.37 ▼8.77 | 43.71 ▼3.48 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 36.02 ▼1.13 | 32.64 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,536 ▲12 | 23.26 ▲0.15 | 645.21 ▼36.19 | 59.40 ▲8.17 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.22 ▲0.04 | 96.94 ▼0.23 | 41.76 ▼0.14 |
SubsBase Integration Settings /wp-admin/options-general.php?page=sbis_embed_settings | 2,517 | 2.83 | 83.60 | 25.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=sbis_embed_settings
- > Notice in wp-content/plugins/subsbase-integration/settings-page.php+872
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
subsbase-integration/subsbase-integration.php 92% from 13 tests
This is the main PHP file of "SubsBase Integration" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
No dangerous file extensions were detected1,262 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 47 | 16 | 1,093 |
JavaScript | 2 | 19 | 46 | 107 |
CSS | 1 | 12 | 1 | 60 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin