Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.14ms] Passed 4 tests
An overview of server-side resources used by Add link on copied text
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.47 ▼3.24 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.33 ▼1.75 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.17 ▲2.73 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 120.14 ▲31.70 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.13 ▲1.69 |
Add link on copied text settings /wp-admin/options-general.php?page=aloct-plugin-options | 3.22 | 33.10 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Add link on copied text: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲34 | 14.34 ▼0.04 | 1.99 ▼0.35 | 43.88 ▼3.67 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▼0.06 | 88.89 ▲1.91 | 37.29 ▼0.73 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.05 | 35.54 ▼2.26 | 31.26 ▼5.92 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 18.38 ▼2.58 | 687.96 ▼14.79 | 85.78 ▲26.88 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.10 ▼0.02 | 101.59 ▼13.75 | 45.34 ▼2.11 |
Add link on copied text settings /wp-admin/options-general.php?page=aloct-plugin-options | 828 | 1.99 | 24.35 | 28.47 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (View on the post page.) image required
add-link-on-copied-text/add-link-on-copied-text.php 92% from 13 tests
The main PHP script in "Add link on copied text" version 2.4.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected106 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 39 | 27 | 106 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 8 | 100.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin