Benchmarks
Plugin footprint Passed 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.03MB] [CPU: ▼140.86ms] Passed 4 tests
An overview of server-side resources used by WP Bootstrap Comments
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 35.76 ▲13.33 |
Dashboard /wp-admin | 3.09 ▲0.04 | 55.68 ▲6.94 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 50.74 ▲0.98 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 97.98 ▼569.89 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.07 ▼1.47 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for WP Bootstrap Comments
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,702 ▲106 | 15.98 ▲0.26 | 10.26 ▲0.52 | 49.50 ▲1.70 |
Dashboard /wp-admin | 2,966 ▲32 | 5.89 ▼0.13 | 162.92 ▲9.82 | 109.20 ▲1.30 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 74.19 ▲1.14 | 86.76 ▼6.38 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.74 ▼0.05 | 386.59 ▼11.96 | 107.63 ▼4.83 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.01 ▼0.01 | 175.73 ▲9.73 | 118.16 ▼2.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: comments, bootstrap
wp-bootstrap-comments/wp-bootstrap-comments.php Passed 13 tests
The primary PHP file in "WP Bootstrap Comments" version 0.1.0 is used by WordPress to initiate all plugin functionality
72 characters long description:
Easily build valid Bootstrap v3 comment lists. Includes nested comments.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected206 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 53 | 134 | 167 |
Markdown | 1 | 14 | 0 | 39 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 25.00% |
▷ Protected methods | 6 | 75.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin