Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method FantasticCopyrightFree::set_copyright_free_options() should not be called statically
Server metrics [RAM: ▼0.83MB] [CPU: ▼32.26ms] Passed 4 tests
This is a short check of server-side resources used by Fantastic Copyright Free
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.64 ▼8.24 |
Dashboard /wp-admin | 3.11 ▼0.19 | 29.92 ▼20.54 |
Posts /wp-admin/edit.php | 3.11 ▼0.24 | 27.81 ▼21.35 |
Add New Post /wp-admin/post-new.php | 3.11 ▼2.78 | 25.52 ▼75.16 |
Media Library /wp-admin/upload.php | 3.11 ▼0.12 | 25.22 ▼11.99 |
Fantastic Copyright Free /wp-admin/options-general.php?page=copyright_free_admin | 3.11 | 23.89 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 23 new options
New WordPress options |
---|
font_color_copyright |
db_upgraded |
fpcopy_notice_free |
widget_recent-posts |
theysaidso_admin_options |
fpcopy_credits |
fpcopy_name_free |
fpcopy_align_free |
fpcopy_reserved_free |
font_color_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Fantastic Copyright Free
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.65 ▼0.74 | 1.63 ▼0.34 | 40.47 ▼2.91 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▲0.76 | 108.74 ▼10.76 | 40.98 ▼5.43 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.05 ▲0.03 | 34.00 ▼3.31 | 33.44 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.48 ▼5.65 | 688.67 ▲28.26 | 61.38 ▲10.04 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.02 | 95.87 ▼0.33 | 42.45 ▲0.41 |
Fantastic Copyright Free /wp-admin/options-general.php?page=copyright_free_admin | 1,231 | 1.83 | 32.22 | 48.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method FantasticCopyrightFree::add_admin_free_menu() should not be called statically
- Zombie WordPress options detected upon uninstall: 23 options
- font_family_options
- can_compress_scripts
- fpcopy_credits
- fpcopy_align_free
- fpcopy_credits_name
- fpcopy_notice_free
- fpcopy_name_free
- font_size_options
- db_upgraded
- fpcopy_reserved_free
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=copyright_free_admin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method FantasticCopyrightFree::add_admin_free_menu() should not be called statically
- > GET request to /wp-admin/options-general.php?page=copyright_free_admin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method FantasticCopyrightFree::update_free_fp_details() should not be called statically
- > GET request to /wp-admin/options-general.php?page=copyright_free_admin
- > Warning in wp-content/plugins/fantastic-copyright-free/inc/adminfree.php+105
Use of undefined constant do_settings - assumed 'do_settings' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=copyright_free_admin
- > Warning in wp-content/plugins/fantastic-copyright-free/inc/adminfree.php+245
Use of undefined constant on - assumed 'on' (this will throw an Error in a future version of PHP)
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fantastic-copyright-free/fantasticcopyrightfree.php:187
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== fantastic-copyright-free ===
) - Tags: There are too many tags (12 tag instead of maximum 10)
fantastic-copyright-free/fantasticcopyrightfree.php 92% from 13 tests
The principal PHP file in "Fantastic Copyright Free" v. 2.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fantastic-copyright-free.php" instead of "fantasticcopyrightfree.php")
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
There were no executable files found in this plugin1,555 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 138 | 37 | 820 |
PHP | 2 | 42 | 24 | 502 |
CSS | 1 | 40 | 0 | 233 |
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.30 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/favicon.png | 15.66KB | 5.81KB | ▼ 62.91% |
jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |
jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |