Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Parse error in wp-content/plugins/multisite-comment-display/mutlisite-comment-display.php+424
syntax error, unexpected end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.44ms] Passed 4 tests
An overview of server-side resources used by Multisite Comment Display
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.07 ▼2.21 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.90 ▼12.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.22 ▼3.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.26 ▼15.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.24 ▲1.54 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Multisite Comment Display
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.36 ▼0.22 | 1.79 ▲0.17 | 42.99 ▲1.94 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▼0.01 | 95.26 ▲9.31 | 43.15 ▼1.63 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.08 | 35.87 ▼4.55 | 35.89 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 22.92 ▲4.92 | 667.82 ▲47.66 | 51.10 ▼19.12 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.03 | 97.89 ▲2.06 | 43.38 ▼1.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/multisite-comment-display/mutlisite-comment-display.php on line 424
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
1 plugin tags: multisite comment display
multisite-comment-display/mutlisite-comment-display.php 92% from 13 tests
The principal PHP file in "Multisite Comment Display" v. 1.10 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("multisite-comment-display.php" instead of "mutlisite-comment-display.php")
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 plugin272 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 109 | 262 |
XML | 2 | 0 | 0 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 14 | |
▷ Named functions | 14 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.57MB with 0.50MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 204.21KB | 26.34KB | ▼ 87.10% |
assets/icon-256x256.png | 123.68KB | 12.94KB | ▼ 89.54% |
assets/icon-128x128.png | 79.94KB | 5.97KB | ▼ 92.53% |
assets/screenshot-1.png | 175.92KB | 30.52KB | ▼ 82.65% |