Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.93MB] [CPU: ▼37.48ms] Passed 4 tests
Analyzing server-side resources used by Linked Articles
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.90 ▼5.88 |
Dashboard /wp-admin | 3.02 ▼0.33 | 21.06 ▼41.55 |
Posts /wp-admin/edit.php | 3.03 ▼0.34 | 23.84 ▼24.26 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 22.04 ▼69.29 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 20.96 ▼14.80 |
Linked Articles /wp-admin/options-general.php?page=linked_articles | 3.03 | 22.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
linked_articles |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Linked Articles
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.24 ▼1.37 | 1.85 ▲0.03 | 44.04 ▼3.03 |
Dashboard /wp-admin | 2,207 ▲22 | 5.84 ▲0.98 | 98.91 ▼19.91 | 38.77 ▼6.43 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▲0.00 | 40.54 ▲2.23 | 34.52 ▼0.21 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.17 ▲0.60 | 624.74 ▼81.89 | 65.27 ▲19.50 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.20 ▼0.03 | 99.51 ▼15.48 | 42.53 ▼7.09 |
Linked Articles /wp-admin/options-general.php?page=linked_articles | 906 | 2.02 | 24.18 | 25.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- linked_articles
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=linked_articles
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=linked_articles
- > Notice in wp-content/plugins/linked-articles/linked-articles.php+168
Undefined index: rss_keep
- > GET request to /wp-admin/options-general.php?page=linked_articles
- > Notice in wp-content/plugins/linked-articles/linked-articles.php+169
Undefined index: prefix_end
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
Almost there! Just fix the following items
- 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/linked-articles/linked-articles.php:128
- > 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
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
8 plugin tags: gruber, linked list, linked articles, linked posts, daring fireball...
linked-articles/linked-articles.php Passed 13 tests
The main PHP script in "Linked Articles" version 1.2 is automatically included on every request by WordPress
84 characters long description:
Easily attach a link to a post. The post permalink is replaced with the shared link.
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
Everything looks great! No dangerous files found in this plugin147 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 83 | 23 | 147 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected