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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.78ms] Passed 4 tests
An overview of server-side resources used by WU - Block comments
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.07 ▼1.78 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.49 ▼10.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.24 ▼2.43 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.25 ▲7.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.30 ▼0.67 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
WU - Block comments: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.30 ▼1.11 | 1.77 ▲0.11 | 43.52 ▲4.32 |
Dashboard /wp-admin | 2,214 ▲34 | 5.83 ▼0.12 | 99.89 ▼7.48 | 41.55 ▲1.66 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▲0.04 | 38.54 ▲3.56 | 37.14 ▲6.82 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.25 ▲5.06 | 605.14 ▼8.46 | 56.54 ▲4.65 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▲0.03 | 92.83 ▼0.95 | 42.17 ▲0.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wu-block-comments ===
) - Screenshots: Add images for these screenshots: #1 (This is the message shown when a comment is blocked.), #2 (This is the settings section in the discussion settings.), #3 (This shows the counter in the section "Right Now" in the dashboard.)
wu-block-comments/wu-block-comments.php Passed 13 tests
The entry point to "WU - Block comments" version 1.2 is a PHP file that has certain tags in its header comment area
47 characters long description:
Blocks comments if problematic words are posted
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected175 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 46 | 116 |
PO File | 1 | 8 | 9 | 59 |
PHP code Passed 2 tests
Analyzing 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 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 17.50KB | 8.85KB | ▼ 49.41% |
screenshot-2.png | 24.04KB | 11.82KB | ▼ 50.81% |
screenshot-1.png | 2.98KB | 1.49KB | ▼ 50.18% |