Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.66ms] Passed 4 tests
An overview of server-side resources used by Link Finder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.55 ▲3.46 |
Dashboard /wp-admin | 3.38 ▲0.08 | 52.03 ▼9.40 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 44.92 ▼8.82 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.96 ▼23.30 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.59 ▼1.11 |
Link Finder /wp-admin/tools.php?page=linkfinder | 3.30 | 32.64 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Link Finder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.32 ▼0.98 | 4.60 ▲2.90 | 42.90 ▼5.40 |
Dashboard /wp-admin | 2,213 ▲22 | 4.84 ▼1.07 | 95.18 ▼9.66 | 38.68 ▼9.12 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 34.48 ▼8.59 | 35.08 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.25 ▼0.09 | 639.57 ▲23.44 | 51.35 ▼19.27 |
Media Library /wp-admin/upload.php | 1,389 ▲7 | 4.18 ▼0.01 | 93.42 ▼4.46 | 42.01 ▼1.34 |
Link Finder /wp-admin/tools.php?page=linkfinder | 932 | 1.72 | 27.27 | 29.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #1 is required in link-finder/assets to your readme.txt
link-finder/linkfinder.php 85% from 13 tests
The entry point to "Link Finder" version 2022.01.05 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("link-finder.php" instead of "linkfinder.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin1,125 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 82 | 257 | 438 |
JavaScript | 1 | 52 | 109 | 257 |
JSON | 2 | 0 | 0 | 225 |
PO File | 1 | 35 | 41 | 110 |
CSS | 1 | 21 | 1 | 95 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 9.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 | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 14 | |
▷ Named functions | 2 | 14.29% |
▷ Anonymous functions | 12 | 85.71% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected