Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.55ms] Passed 4 tests
Analyzing server-side resources used by WP Copy Media URL
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.25 ▼6.69 |
Dashboard /wp-admin | 3.40 ▲0.10 | 48.79 ▼4.18 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.53 ▲0.25 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 97.56 ▼3.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.52 ▲0.93 |
WordPress Copy Media URL /wp-admin/options-general.php?page=wp-cmu-options | 3.29 | 33.91 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 13 new options
New WordPress options |
---|
wp_cmu_link_text_copied |
widget_theysaidso_widget |
db_upgraded |
wp_cmu_button_color |
wp_cmu_button_text_color |
widget_recent-posts |
theysaidso_admin_options |
wp_cmu_button_text_copied |
widget_recent-comments |
wp_cmu_link_text |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Copy Media URL
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲60 | 14.18 ▼0.38 | 1.62 ▼0.40 | 45.98 ▲1.43 |
Dashboard /wp-admin | 2,246 ▲75 | 6.11 ▲0.57 | 130.56 ▲39.75 | 39.28 ▼2.25 |
Posts /wp-admin/edit.php | 2,154 ▲51 | 3.12 ▲1.14 | 53.00 ▲15.15 | 36.65 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.35 ▲0.25 | 658.65 ▼10.03 | 37.01 ▼24.22 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.05 ▼0.16 | 88.15 ▼13.54 | 44.08 ▼2.42 |
WordPress Copy Media URL /wp-admin/options-general.php?page=wp-cmu-options | 1,074 | 2.83 | 40.76 | 33.87 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: copy media url, single click copy media url, custom post type copy media url, wordpress copy media url, one click copy media url...
wp-copy-media-url/wp-copy-media-url.php Passed 13 tests
The main file in "WP Copy Media URL" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
WordPress plugin for copy media url on a single click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin554 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 98 | 462 |
JavaScript | 1 | 6 | 0 | 48 |
CSS | 1 | 1 | 1 | 44 |
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.20 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin