Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.53ms] Passed 4 tests
Server-side resources used by No copy allowed, disable copy - Nork Tecnologia
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.02 ▼6.88 |
Dashboard /wp-admin | 3.33 ▲0.02 | 52.73 ▲2.30 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 54.27 ▲4.74 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.89 ▼17.55 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 39.39 ▲0.02 |
Block copy /wp-admin/options-general.php?page=block-copy | 3.22 | 29.67 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for No copy allowed, disable copy - Nork Tecnologia
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲42 | 14.35 ▼0.20 | 2.31 ▲0.47 | 45.39 ▲2.70 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.22 | 86.59 ▼8.64 | 40.45 ▼3.34 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 1.95 ▼0.03 | 39.38 ▲2.40 | 35.01 ▼4.01 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.59 ▲0.71 | 696.89 ▲37.09 | 53.38 ▼0.59 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▼0.01 | 104.58 ▼4.93 | 47.13 ▲2.98 |
Block copy /wp-admin/options-general.php?page=block-copy | 810 | 2.02 | 25.85 | 36.13 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output 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
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: block ctrlv, disable print, disable copy, block ctrlc, block copy...
no-copy-block-text-selection/no-copy-block-selection.php 92% from 13 tests
The main PHP file in "No copy allowed, disable copy - Nork Tecnologia" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("no-copy-block-text-selection.php" instead of "no-copy-block-selection.php")
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
There were no executable files found in this plugin153 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 29 | 153 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ 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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin