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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.40ms] Passed 4 tests
An overview of server-side resources used by Open Links In New Tab
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.68 ▲5.79 |
Dashboard /wp-admin | 3.31 ▼0.03 | 51.93 ▼16.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.32 ▲0.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.67 ▼2.91 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.08 ▲1.61 |
Links In New Tab /wp-admin/options-general.php?page=open_links_in_new_tab | 3.20 | 32.55 |
Server storage [IO: ▲0.02MB] [DB: ▲0.31MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
olint_open_external_link_in_new_tab |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Open Links In New Tab
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.38 ▲0.03 | 3.05 ▲1.37 | 46.02 ▲2.93 |
Dashboard /wp-admin | 2,187 ▲10 | 5.59 ▲0.06 | 80.43 ▼25.86 | 38.10 ▼7.43 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.03 | 34.71 ▼2.16 | 36.31 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.19 ▼5.41 | 638.79 ▼49.74 | 78.78 ▲18.74 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.10 ▼0.12 | 117.15 ▲10.89 | 48.80 ▲2.80 |
Links In New Tab /wp-admin/options-general.php?page=open_links_in_new_tab | 807 | 2.02 | 25.45 | 28.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/open-links-in-new-tab/core/bootstrap.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/open-links-in-new-tab/open-links-in-new-tab.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: target blank, new window, new tab, external links, open links
open-links-in-new-tab/open-links-in-new-tab.php Passed 13 tests
The main file in "Open Links In New Tab" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
90 characters long description:
Wordpress plugin that opens links in a new tab. Search engine optimization (SEO) friendly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected220 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 42 | 153 | 136 |
PO File | 2 | 14 | 14 | 84 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 13 | |
▷ Static methods | 10 | 76.92% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin