Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.32ms] Passed 4 tests
Analyzing server-side resources used by Read More Copy Link
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.42 ▼5.28 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.12 ▼6.73 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.11 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.13 ▼14.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.52 ▼1.01 |
Stormation /wp-admin/admin.php?page=Stormation | 3.20 | 32.49 |
Read More, Copy Link /wp-admin/admin.php?page=ReadMoreCopyLinkOptions | 3.20 | 33.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Read More Copy Link
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲84 | 14.14 ▼0.24 | 1.96 ▲0.08 | 40.44 ▼1.18 |
Dashboard /wp-admin | 2,206 ▲26 | 5.58 ▼0.08 | 82.91 ▼17.19 | 80.77 ▲36.10 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.98 ▲0.00 | 41.97 ▲6.56 | 36.75 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,571 ▲46 | 18.31 ▼5.01 | 625.51 ▲19.69 | 125.56 ▲68.06 |
Media Library /wp-admin/upload.php | 1,420 ▲17 | 4.10 ▼0.05 | 101.97 ▲2.84 | 67.08 ▲22.19 |
Stormation /wp-admin/admin.php?page=Stormation | 810 | 2.19 | 23.42 | 26.75 |
Read More, Copy Link /wp-admin/admin.php?page=ReadMoreCopyLinkOptions | 848 | 2.01 | 25.74 | 28.85 |
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
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/read-more-copy-link/read-more-copy-link.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/read-more-copy-link/loader.php:16
- > PHP Fatal error
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 96% from 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
4 plugin tags: copy, read, link, more
read-more-copy-link/loader.php 92% from 13 tests
Analyzing the main PHP file in "Read More Copy Link" version 1.0.2
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("read-more-copy-link.php" instead of "loader.php")
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
Good job! No executable or dangerous file extensions detected142 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 9 | 11 | 142 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon16.png | 0.75KB | 0.64KB | ▼ 14.21% |
icon32.png | 5.45KB | 1.67KB | ▼ 69.45% |