Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼298.45ms] Passed 4 tests
This is a short check of server-side resources used by Get Link Meta
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 53.41 ▲3.14 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.93 ▼0.45 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.61 ▲0.14 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.08 | 93.67 ▼1,191.23 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 22.82 ▼2.26 |
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 Get Link Meta
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 15.86 ▲0.19 | 6.34 ▼0.25 | 2.85 ▼0.20 |
Dashboard /wp-admin | 2,895 ▲44 | 6.14 ▲0.00 | 119.92 ▼19.08 | 149.00 ▼5.61 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.23 ▼0.00 | 62.94 ▼2.86 | 136.05 ▼9.37 |
Add New Post /wp-admin/post-new.php | 1,661 ▼91 | 16.27 ▼5.61 | 399.76 ▼35.41 | 162.52 ▲5.55 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.54 ▲0.00 | 142.89 ▲8.83 | 184.75 ▼0.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/get-link-meta/getdescription.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
get_meta_tags(): Filename cannot be empty in wp-content/plugins/get-link-meta/getdescription.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/get-link-meta/getlinkmeta.php:21
- > PHP Notice
Undefined index: linkurl in wp-content/plugins/get-link-meta/getdescription.php on line 3
- > PHP Notice
Trying to access array offset on value of type bool in wp-content/plugins/get-link-meta/getdescription.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (Metabox added to linkmanager) image not found
- Plugin Name: Please specify the plugin name on the first line (
=== get-link-meta ===
)
get-link-meta/getlinkmeta.php 92% from 13 tests
The entry point to "Get Link Meta" version 0.1.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("get-link-meta.php" instead of "getlinkmeta.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected57 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 15 | 46 |
JavaScript | 1 | 2 | 1 | 11 |
PHP code Passed 2 tests
Analyzing 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.31 |
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 | 3 | |
▷ Named functions | 3 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 8.28KB | 3.49KB | ▼ 57.86% |