Benchmarks
Plugin footprint 83% from 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.31MB] [CPU: ▼7.60ms] Passed 4 tests
Analyzing server-side resources used by Alink Tap
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 35.87 ▼1.98 |
Dashboard /wp-admin | 3.41 ▲0.10 | 70.90 ▲19.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.62 ▲2.46 |
Add New Post /wp-admin/post-new.php | 4.62 ▼1.27 | 44.51 ▼41.21 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.97 ▲10.34 |
Alink Tap /wp-admin/options-general.php?page=alink-tap | 3.28 | 31.23 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
recovery_mode_email_last_sent |
alink_tap_linker_remote_info |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
alink_tap_linker_remote |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Alink Tap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,690 ▼45 | 13.23 ▼1.07 | 1.17 ▼0.90 | 21.29 ▼20.19 |
Dashboard /wp-admin | 2,213 ▲22 | 5.78 ▼0.13 | 98.19 ▼7.06 | 38.28 ▼7.12 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.01 | 39.97 ▲3.23 | 35.54 ▲1.76 |
Add New Post /wp-admin/post-new.php | 45 ▼1,500 | 0.44 ▼17.64 | 0.10 ▼587.79 | 11.18 ▼43.57 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.00 | 95.25 ▼1.55 | 68.18 ▲26.50 |
Alink Tap /wp-admin/options-general.php?page=alink-tap | 927 | 2.03 | 22.95 | 29.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- recovery_mode_email_last_sent
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=alink-tap
- > Warning in wp-content/plugins/alink-tap/admin/views/admin.php+91
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/options-general.php?page=alink-tap
- > Warning in wp-content/plugins/alink-tap/admin/views/admin.php+104
Invalid argument supplied for foreach()
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/alink-tap/public/views/public.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/alink-tap/admin/includes/local-linked.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/alink-tap/admin/includes/remote-linked.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/alink-tap/admin/views/admin.php:24
- > PHP Notice
Undefined variable: sample in wp-content/plugins/alink-tap/admin/includes/local-linked.php on line 11
- > PHP Notice
Undefined index: alink_tap_linker_text in wp-content/plugins/alink-tap/admin/includes/local-linked.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
1 plugin tags: link
alink-tap/alink-tap.php 92% from 13 tests
The entry point to "Alink Tap" version 1.3.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 322 characters long)
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 detected449 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 244 | 543 | 439 |
JavaScript | 2 | 8 | 2 | 10 |
CSS | 2 | 0 | 2 | 0 |
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.40 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 7 | 25.00% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin