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: ▲4.02MB] [CPU: ▲24.47ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Directory Plugin For Business Listings - WP Local Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.27 ▲3.82 | 65.53 ▲22.19 |
Dashboard /wp-admin | 7.39 ▲4.08 | 73.65 ▲24.93 |
Posts /wp-admin/edit.php | 7.45 ▲4.10 | 83.07 ▲35.52 |
Add New Post /wp-admin/post-new.php | 10.27 ▲4.39 | 115.42 ▲18.57 |
Media Library /wp-admin/upload.php | 7.33 ▲4.10 | 67.70 ▲32.19 |
Settings /wp-admin/admin.php?page=wplocalplus-lite | 7.21 | 63.45 |
Place Types /wp-admin/edit-tags.php?taxonomy=wplocal_place_type&post_type=wplocal_places | 7.32 | 62.93 |
Reviews /wp-admin/edit.php?post_type=wplocal_reviews | 7.30 | 62.18 |
Places /wp-admin/edit.php?post_type=wplocal_places | 7.30 | 58.11 |
Locations /wp-admin/edit-tags.php?taxonomy=wplocal_location&post_type=wplocal_places | 7.32 | 61.05 |
Server storage [IO: ▲9.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 314 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wplocalplus_1.0 |
widget_theysaidso_widget |
widget_recent-posts |
analytics_activation_redirect_wplocalplus-lite |
acf_version |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Directory Plugin For Business Listings - WP Local Plus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,187 ▲452 | 24.95 ▲10.30 | 45.49 ▲43.68 | 36.21 ▼16.76 |
Dashboard /wp-admin | 2,311 ▲126 | 11.74 ▲6.86 | 152.09 ▲35.87 | 46.07 ▲0.47 |
Posts /wp-admin/edit.php | 2,223 ▲137 | 10.44 ▲8.46 | 85.11 ▲48.40 | 35.17 ▲0.11 |
Add New Post /wp-admin/post-new.php | 6,629 ▲5,087 | 28.62 ▲10.24 | 900.78 ▲255.34 | 47.47 ▼9.07 |
Media Library /wp-admin/upload.php | 1,641 ▲253 | 12.51 ▲8.30 | 277.05 ▲175.87 | 91.91 ▲48.67 |
Settings /wp-admin/admin.php?page=wplocalplus-lite | 998 | 10.05 | 68.41 | 32.81 |
Place Types /wp-admin/edit-tags.php?taxonomy=wplocal_place_type&post_type=wplocal_places | 1,424 | 11.55 | 79.45 | 29.82 |
Reviews /wp-admin/edit.php?post_type=wplocal_reviews | 1,239 | 10.43 | 71.93 | 27.11 |
Places /wp-admin/edit.php?post_type=wplocal_places | 1,271 | 10.35 | 71.99 | 28.58 |
Locations /wp-admin/edit-tags.php?taxonomy=wplocal_location&post_type=wplocal_places | 1,427 | 11.59 | 78.37 | 29.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- wplocalplus_1.0
- widget_theysaidso_widget
- acf_version
- analytics_activation_redirect_wplocalplus-lite
- theysaidso_admin_options
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 everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following items
- 75× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/admin/views/html-admin-page-upgrade-network.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/forms/form-comment.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_add_deprecated_filter() in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/deprecated.php:4
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/fields/class-acf-field-number.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/fields/class-acf-field-wysiwyg.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/forms/form-taxonomy.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_render_field_wrap() in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/admin/views/field-group-options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/upgrades.php:455
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/fields/class-acf-field-select.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/wplocalplus-lite/includes/libraries/acf/includes/fields/class-acf-field-page_link.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Requires at least: Version format is invalid
wplocalplus-lite/wplocalplus-lite.php Passed 13 tests
This is the main PHP file of "WordPress Directory Plugin For Business Listings - WP Local Plus" version 1.4.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
35 characters long description:
WordPress Business Directory Plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin118,517 lines of code in 229 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 24,109 | 41,341 | 49,290 |
JavaScript | 25 | 6,215 | 6,405 | 41,420 |
PHP | 149 | 8,642 | 19,095 | 21,089 |
CSS | 21 | 547 | 762 | 6,581 |
Markdown | 2 | 71 | 0 | 131 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 109 | |
▷ Abstract classes | 2 | 1.83% |
▷ Concrete classes | 107 | 98.17% |
▷ Final classes | 0 | 0.00% |
Methods | 811 | |
▷ Static methods | 6 | 0.74% |
▷ Public methods | 788 | 97.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 2.84% |
Functions | 445 | |
▷ Named functions | 441 | 99.10% |
▷ Anonymous functions | 4 | 0.90% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
35 PNG files occupy 0.31MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/libraries/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
assets/libraries/fancybox/fancybox/fancybox_overlay.png | 0.98KB | 0.09KB | ▼ 90.43% |
assets/libraries/fancybox/fancybox/fancy_shadow_se.png | 0.34KB | 0.48KB | 0.00% |
assets/libraries/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
assets/libraries/fancybox/fancybox/fancy_shadow_w.png | 0.10KB | 0.18KB | 0.00% |