Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.24ms] Passed 4 tests
Server-side resources used by Copywriting.cz
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.75 ▲2.67 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.12 ▼1.85 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.42 ▼9.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 97.25 ▼12.33 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.94 ▲3.42 |
Copywriting.cz /wp-admin/tools.php?page=copywriting-cz | 3.24 | 33.32 |
Server storage [IO: ▲0.01MB] [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: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
cpcz_token |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Copywriting.cz
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.46 | 1.59 ▼0.07 | 40.28 ▼4.09 |
Dashboard /wp-admin | 2,202 ▲28 | 5.63 ▲0.03 | 90.12 ▼5.13 | 40.63 ▲0.18 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.13 | 40.42 ▼2.16 | 36.31 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.00 ▼0.57 | 667.08 ▲21.97 | 61.73 ▲12.57 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.01 | 98.38 ▼22.77 | 43.61 ▼2.02 |
Copywriting.cz /wp-admin/tools.php?page=copywriting-cz | 802 | 1.99 | 25.10 | 30.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- cpcz_token
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/copywriting-cz/admin.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/copywriting-cz/copywriting-cz.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: copywritingcz, autoload, copywriting
copywriting-cz/copywriting-cz.php Passed 13 tests
The entry point to "Copywriting.cz" version 1.0.4 is a PHP file that has certain tags in its header comment area
103 characters long description:
Umožňuje nahrávat texty zakoupené na Copywriting.cz přímo na Váš web bez nutnosti kopírování
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected188 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 39 | 50 | 188 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 44.44% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
No PNG images were found in this plugin