Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.27ms] Passed 4 tests
Server-side resources used by Bamboo Social
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.51 ▼3.87 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.74 ▼1.30 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.37 ▼0.75 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.96 ▲6.85 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.35 ▲0.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 13 new options
New WordPress options |
---|
bamboo_social_google_link |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_bamboo_social |
bamboo_social_twitter_link |
db_upgraded |
can_compress_scripts |
bamboo_social_linkedin_link |
bamboo_social_instagram_link |
bamboo_social_initialised |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bamboo Social
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.33 ▼1.05 | 1.91 ▼0.22 | 37.43 ▼12.10 |
Dashboard /wp-admin | 2,218 ▲30 | 4.85 ▼0.07 | 109.98 ▲1.84 | 45.10 ▲5.61 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.04 ▼0.00 | 40.32 ▼1.68 | 40.94 ▲2.23 |
Add New Post /wp-admin/post-new.php | 1,552 ▲10 | 18.06 ▼0.30 | 598.57 ▼32.95 | 56.70 ▲2.39 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.23 ▲0.02 | 97.64 ▼3.50 | 41.21 ▼4.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 13 options
- bamboo_social_google_link
- bamboo_social_linkedin_link
- widget_theysaidso_widget
- db_upgraded
- bamboo_social_twitter_link
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- bamboo_social_initialised
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: social media, widgets, shortcodes
bamboo-social/bamboo-social.php 92% from 13 tests
The main PHP file in "Bamboo Social" ver. 1.1.3 ... adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1.1.3 ...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin362 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 102 | 48 | 293 |
CSS | 1 | 17 | 2 | 69 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin