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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.17ms] Passed 4 tests
This is a short check of server-side resources used by Fetchify
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.87 ▼3.43 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.42 ▼16.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.95 ▲3.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.14 ▼15.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.56 ▼1.20 |
Server storage [IO: ▲0.19MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fetchify
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.01 | 1.75 ▲0.08 | 44.39 ▲4.15 |
Dashboard /wp-admin | 2,198 ▲18 | 5.59 ▼0.07 | 89.46 ▼2.42 | 42.39 ▼1.47 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▲0.02 | 40.27 ▲0.36 | 35.67 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.73 ▲0.49 | 665.00 ▼36.37 | 55.80 ▼7.89 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.24 ▲0.12 | 103.43 ▼7.55 | 41.72 ▼8.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clicktoaddress-auto-complete/clicktoaddress-auto-complete.php:39
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/clicktoaddress-auto-complete/includes/class-wc-clicktoaddress-autocomplete-integration.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clicktoaddress-auto-complete/wp/menu.php:6
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
clicktoaddress-auto-complete/clicktoaddress-auto-complete.php 92% from 13 tests
Analyzing the main PHP file in "Fetchify" version 1.7.0
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "2.4")
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
There were no executable files found in this plugin2,529 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 137 | 114 | 1,679 |
PHP | 4 | 27 | 63 | 721 |
CSS | 1 | 0 | 5 | 110 |
XML | 1 | 2 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fetchify_logo.png | 5.22KB | 3.31KB | ▼ 36.53% |