Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼302.99ms] Passed 4 tests
This is a short check of server-side resources used by Clever Fox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 68.34 ▼2.52 |
Dashboard /wp-admin | 3.43 ▲0.02 | 39.37 ▼7.54 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 47.82 ▲3.69 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 107.59 ▼1,202.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 33.49 ▲0.72 |
Server storage [IO: ▲9.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 466 new files
Database: no new tables, 1 new option
New WordPress options |
---|
item_details_page |
Browser metrics Passed 4 tests
An overview of browser requirements for Clever Fox
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,861 ▲107 | 16.06 ▲0.56 | 12.54 ▲1.68 | 4.07 ▲0.43 |
Dashboard /wp-admin | 2,954 ▲31 | 6.41 ▲0.06 | 206.11 ▼0.29 | 210.94 ▼0.26 |
Posts /wp-admin/edit.php | 2,721 ▼14 | 3.42 ▼0.01 | 79.75 ▼14.68 | 174.96 ▼18.08 |
Add New Post /wp-admin/post-new.php | 1,662 ▼0 | 16.11 ▼0.68 | 613.28 ▼57.25 | 191.69 ▼13.78 |
Media Library /wp-admin/upload.php | 1,730 ▼0 | 5.72 ▼0.01 | 185.67 ▼11.59 | 241.91 ▲8.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 1 option in the database
- item_details_page
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 344× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/clever-fox/inc/aravalli/sections/section-room.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_bits() in wp-content/plugins/clever-fox/inc/hantus/default-pages/upload-media.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/clever-fox/inc/axtria/default-widgets/default-widget.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/clever-fox/inc/avril/sections/section-cta-2.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clever-fox/inc/arbuda/sections/footer-above.php:43
- > PHP Warning
Use of undefined constant CLEVERFOX_PLUGIN_URL - assumed 'CLEVERFOX_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/clever-fox/inc/ameya/default-pages/upload-media.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clever-fox/inc/metasoft/features/metasoft-expertise.php:380
- > PHP Warning
require(CLEVERFOX_PLUGIN_DIRinc/gradiant/extras.php): failed to open stream: No such file or directory in wp-content/plugins/clever-fox/inc/gradiant/gradiant.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/clever-fox/inc/boostify/sections/section-slider.php:106
- > PHP Warning
Use of undefined constant CLEVERFOX_PLUGIN_DIR - assumed 'CLEVERFOX_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/clever-fox/inc/envira/envira.php on line 6
- > 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)
No browser errors were detected
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
7 plugin tags: demo, widget, sections, settings, companion...
clever-fox/clever-fox.php 92% from 13 tests
The main file in "Clever Fox" v. 10.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 309 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected34,467 lines of code in 269 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 250 | 3,269 | 2,246 | 29,790 |
JavaScript | 10 | 64 | 67 | 2,460 |
CSS | 7 | 387 | 42 | 2,197 |
SVG | 2 | 0 | 0 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 52 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 4 | 5.56% |
▷ Public methods | 71 | 98.61% |
▷ Protected methods | 1 | 1.39% |
▷ Private methods | 0 | 0.00% |
Functions | 469 | |
▷ Named functions | 469 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
114 PNG files occupy 1.94MB with 0.82MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/belltech/images/footer-logo.png | 3.26KB | 2.40KB | ▼ 26.57% |
inc/azwa/images/shape/shape12.png | 46.13KB | 4.81KB | ▼ 89.57% |
inc/startkit/images/testimonial/testimonial02.png | 11.04KB | 4.58KB | ▼ 58.54% |
inc/azwa/images/shape/shape15.png | 6.90KB | 8.09KB | 0.00% |
inc/aravalli/images/logo.png | 8.14KB | 5.21KB | ▼ 36.01% |