Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.53ms] Passed 4 tests
A check of server-side resources used by Carmo Copy to Clipboard
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.90 ▼0.18 |
Dashboard /wp-admin | 3.32 ▲0.01 | 42.46 ▼8.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.49 ▼3.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.70 ▼21.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.31 ▲1.19 |
Server storage [IO: ▲0.47MB] [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: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Carmo Copy to Clipboard
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.14 | 1.87 ▼0.00 | 42.96 ▼3.65 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼1.05 | 97.65 ▼10.94 | 39.91 ▼7.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 39.74 ▲1.53 | 35.91 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,551 ▲30 | 18.36 ▼4.75 | 623.12 ▼59.67 | 71.92 ▲6.81 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.21 ▼0.00 | 94.93 ▼5.94 | 40.84 ▼3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: clipboard, copy
carmo-copy-to-clipboard/carmo-copy-to-clipboard.php Passed 13 tests
The entry point to "Carmo Copy to Clipboard" version 1.0.0 is a PHP file that has certain tags in its header comment area
59 characters long description:
Adds a 'Copy to Clipboard' button to Gutenberg code blocks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected86 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 24 | 71 |
CSS | 2 | 1 | 2 | 10 |
JavaScript | 1 | 0 | 2 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 2 | |
▷ Named functions | 2 | 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
3 PNG files occupy 0.42MB with 0.29MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 151.75KB | 46.74KB | ▼ 69.20% |
assets/screenshot-3.png | 203.81KB | 61.47KB | ▼ 69.84% |
assets/screenshot-2.png | 69.42KB | 21.68KB | ▼ 68.77% |