Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼293.29ms] Passed 4 tests
Analyzing server-side resources used by Advanced Remove Links in Comments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 52.81 ▼0.09 |
Dashboard /wp-admin | 3.47 ▲0.06 | 32.79 ▼4.81 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 36.34 ▼3.47 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.04 | 92.92 ▼1,164.78 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 25.36 ▲1.92 |
Server storage [IO: ▲0.01MB] [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: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Remove Links in Comments
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲13 | 16.20 ▲0.54 | 6.89 ▲0.93 | 2.25 ▼0.32 |
Dashboard /wp-admin | 2,892 ▲38 | 6.11 ▼0.11 | 122.72 ▼24.06 | 163.31 ▼9.96 |
Posts /wp-admin/edit.php | 2,685 ▼6 | 3.24 ▲0.01 | 65.64 ▲1.87 | 142.59 ▼9.04 |
Add New Post /wp-admin/post-new.php | 1,752 ▲91 | 20.86 ▲5.10 | 445.50 ▲13.31 | 162.32 ▲7.30 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.53 ▲0.01 | 141.42 ▲2.31 | 195.88 ▲5.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Wabeo\\AdvancedRemoveLinksInComments\\esc_html__() in wp-content/plugins/advanced-remove-links-in-comments/advanced-remove-links-in-comments.php:16
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
advanced-remove-links-in-comments/advanced-remove-links-in-comments.php Passed 13 tests
The main file in "Advanced Remove Links in Comments" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
78 characters long description:
Remove links in comments based on article publication date and comment length.
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
There were no executable files found in this plugin189 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 42 | 135 |
PO File | 1 | 15 | 15 | 54 |
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.41 |
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 | 1 | |
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 | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
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
PNG images were not found in this plugin