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
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼143.91ms] Passed 4 tests
An overview of server-side resources used by WP Open Comment Links in New Window
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 31.45 ▼0.71 |
Dashboard /wp-admin | 3.06 ▲0.01 | 45.82 ▼10.95 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 45.21 ▲0.22 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 90.74 ▼563.34 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 32.41 ▼0.65 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
WP Open Comment Links in New Window: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.15 ▲0.54 | 10.00 ▼0.69 | 47.91 ▲5.48 |
Dashboard /wp-admin | 2,967 ▲36 | 5.93 ▼0.12 | 151.22 ▲0.73 | 106.64 ▼3.92 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.00 | 59.66 ▼10.19 | 85.10 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,683 ▲11 | 18.76 ▼0.05 | 402.74 ▼73.42 | 108.52 ▼2.98 |
Media Library /wp-admin/upload.php | 1,822 ▲12 | 5.02 ▼0.01 | 163.80 ▲9.20 | 116.15 ▲2.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% 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)
Even though everything seems fine, this is not 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-open-comment-links-in-new-window/wp-open-comment-links-in-new-window.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: external-links, blank, new tab, target blank, target new...
wp-open-comment-links-in-new-window/wp-open-comment-links-in-new-window.php Passed 13 tests
The main PHP script in "WP Open Comment Links in New Window" version 1.2 is automatically included on every request by WordPress
88 characters long description:
Opens all the links (URLs) added in the comments and author URL, in a new tab or window.
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
Everything looks great! No dangerous files found in this plugin8 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 2 | 9 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
There are no PNG files in this plugin