Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.35ms] Passed 4 tests
Server-side resources used by SnapShotBoard WordPress Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.38 ▼2.84 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.44 ▼5.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.27 ▼2.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.80 ▼27.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.68 ▲8.15 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ssb_users |
New WordPress options |
---|
widget_theysaidso_widget |
ssb_db_version |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by SnapShotBoard WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 14.48 ▲0.13 | 1.78 ▲0.07 | 45.97 ▲1.88 |
Dashboard /wp-admin | 2,219 ▲31 | 5.83 ▼0.04 | 93.14 ▼13.01 | 39.73 ▼7.75 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.01 ▼0.03 | 34.21 ▼2.91 | 35.02 ▲3.86 |
Add New Post /wp-admin/post-new.php | 1,555 ▲36 | 18.48 ▼4.43 | 621.22 ▼53.07 | 67.98 ▲13.07 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.22 ▲0.03 | 94.84 ▼6.64 | 41.72 ▼5.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_ssb_users
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- ssb_db_version
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
The following issues need your attention
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/snapshotboard/views/dashboard.php
- > /wp-content/plugins/snapshotboard/snapshotboard-settings.php
- > /wp-content/plugins/snapshotboard/snapshotboard-admin.php
- > /wp-content/plugins/snapshotboard/views/connection.php
- > /wp-content/plugins/snapshotboard/snapshotboard.php
- > /wp-content/plugins/snapshotboard/views/config.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/snapshotboard/snapshotboard-widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: snapshotboard, socialwall, social wall
snapshotboard/snapshotboard.php Passed 13 tests
"SnapShotBoard WordPress Plugin" version 0.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
31 characters long description:
SnapShotBoard WordPress Plugin.
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
Good job! No executable or dangerous file extensions detected1,175 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 159 | 30 | 759 |
PHP | 7 | 98 | 74 | 416 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 20 | 80.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 2 | 8.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin