Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.48MB] [CPU: ▼136.12ms] Passed 4 tests
Analyzing server-side resources used by Flaunt Your Clients - Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲1.38 | 41.66 ▲9.73 |
Dashboard /wp-admin | 4.61 ▲1.55 | 53.64 ▲5.37 |
Posts /wp-admin/edit.php | 4.66 ▲1.54 | 53.46 ▲0.34 |
Add New Post /wp-admin/post-new.php | 6.95 ▲1.52 | 98.04 ▼555.36 |
Media Library /wp-admin/upload.php | 4.49 ▲1.48 | 40.88 ▲5.18 |
Clients /wp-admin/edit-tags.php?taxonomy=Clients&post_type=clients | 4.49 | 39.97 |
All Clients /wp-admin/edit.php?post_type=clients | 4.53 | 44.07 |
Add New /wp-admin/post-new.php?post_type=clients | 4.63 | 51.04 |
Clients /wp-admin/edit-tags.php?taxonomy=Clients | 4.49 | 43.73 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 111 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Flaunt Your Clients - Free: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,727 ▲90 | 15.82 ▼0.16 | 8.15 ▼0.23 | 43.10 ▼7.88 |
Dashboard /wp-admin | 3,004 ▲70 | 5.95 ▼0.04 | 132.86 ▼27.51 | 132.33 ▲19.96 |
Posts /wp-admin/edit.php | 2,846 ▲107 | 2.70 ▲0.01 | 66.95 ▼0.36 | 95.39 ▲1.80 |
Add New Post /wp-admin/post-new.php | 4,602 ▲2,930 | 27.11 ▲8.17 | 529.11 ▲147.23 | 122.17 ▲11.88 |
Media Library /wp-admin/upload.php | 1,795 ▼9 | 5.01 ▲0.02 | 128.40 ▼24.99 | 144.74 ▲24.97 |
Clients /wp-admin/edit-tags.php?taxonomy=Clients&post_type=clients | 1,770 | 2.51 | 57.23 | 83.37 |
All Clients /wp-admin/edit.php?post_type=clients | 1,489 | 2.55 | 57.93 | 72.84 |
Add New /wp-admin/post-new.php?post_type=clients | 3,653 | 11.28 | 254.91 | 133.02 |
Clients /wp-admin/edit-tags.php?taxonomy=Clients | 1,767 | 2.49 | 57.80 | 84.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=clients
- > User deprecated in wp-includes/functions.php+5211
wp_richedit_pre is deprecated since version 4.3.0! Use format_for_editor() instead.
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
The following issues need your attention
- 45× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/fields/wysiwyg.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/flaunt-your-clients-free/includes/client-template.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/fields/text.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/fields/file.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/views/meta_box_options.php:18
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/fields/tab.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/controllers/everything_fields.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/controllers/upgrade.php:25
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/fields/taxonomy.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/flaunt-your-clients-free/includes/advanced-custom-fields/core/fields/select.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
No tags were found
flaunt-your-clients-free/flaunt-your-clients.php 85% from 13 tests
The main PHP script in "Flaunt Your Clients - Free" version 0.7.5 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 212 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("flaunt-your-clients-free.php" instead of "flaunt-your-clients.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 plugin18,273 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 4,156 | 5,199 | 10,930 |
JavaScript | 8 | 1,977 | 1,646 | 4,207 |
CSS | 8 | 744 | 399 | 2,971 |
Markdown | 1 | 42 | 0 | 165 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 28.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 4.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 43 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 378 | |
▷ Static methods | 101 | 26.72% |
▷ Public methods | 370 | 97.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 2.12% |
Functions | 59 | |
▷ Named functions | 59 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.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
32 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/advanced-custom-fields/core/fields/date_picker/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/advanced-custom-fields/core/fields/date_picker/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
includes/advanced-custom-fields/images/arrows@2x.png | 0.84KB | 0.88KB | 0.00% |
lib/metabox/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/advanced-custom-fields/core/fields/date_picker/images/ui-bg_highlight-soft_0_444444_1x100.png | 0.08KB | 0.08KB | 0.00% |