Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.87ms] Passed 4 tests
Server-side resources used by Multisites In Link Search
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.31 ▼6.20 |
Dashboard /wp-admin | 3.37 ▲0.02 | 50.43 ▼21.54 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.52 ▼2.14 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 104.85 ▲2.39 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.94 ▲5.40 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Multisites In Link Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 13.64 ▼0.73 | 7.84 ▲5.91 | 41.79 ▼1.62 |
Dashboard /wp-admin | 2,214 ▲26 | 5.80 ▼0.05 | 101.69 ▼1.55 | 40.99 ▼1.18 |
Posts /wp-admin/edit.php | 2,099 ▲13 | 2.00 ▼0.05 | 41.29 ▲6.20 | 36.26 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 18.00 ▲0.26 | 638.11 ▲19.74 | 75.46 ▲23.60 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.16 ▼0.05 | 104.04 ▲3.70 | 45.32 ▼0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/multisites-in-link-search/admin/partials/multisites-in-link-search-admin-display.php
- > /wp-content/plugins/multisites-in-link-search/public/partials/multisites-in-link-search-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== multisites-in-link-search ===
) - Donate link: Invalid URI ("www.andyboehm.com")
multisites-in-link-search/multisites-in-link-search.php Passed 13 tests
The principal PHP file in "Multisites In Link Search" v. 1.0.0 is loaded by WordPress automatically on each request
138 characters long description:
Adds your multisite blogs to the internal link search tool as a Better Internal Link Search modifier. Requires Better Internal Link Search
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected241 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 136 | 542 | 229 |
JavaScript | 2 | 4 | 54 | 6 |
Markdown | 1 | 5 | 0 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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