Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲1.71ms] Passed 4 tests
A check of server-side resources used by Reactive LITE - Advanced WordPress Searching Filtering & Grid
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 48.55 ▲5.88 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.67 ▲1.99 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 50.81 ▲4.85 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 84.75 ▼2.61 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.62 ▲2.60 |
System Status /wp-admin/admin.php?page=reactive_status | 3.35 | 33.15 |
Reactive /wp-admin/admin.php?page=reactive_admin | 3.33 | 32.10 |
Geobox(Pro) /wp-admin/admin.php?page=reactive_geobox | 3.33 | 35.04 |
Settings(Pro) /wp-admin/admin.php?page=reactive_settings | 3.33 | 34.17 |
All Reactive Builder /wp-admin/edit.php?post_type=reactive_builder | 3.37 | 37.57 |
Add New Reactive Builder /wp-admin/post-new.php?post_type=reactive_builder | 3.89 | 51.99 |
Meta Restrictions(Pro) /wp-admin/admin.php?page=meta_restrictions | 3.33 | 49.63 |
Server storage [IO: ▲5.89MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 203 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_re_lat_lng |
New WordPress options |
---|
webpack_public_path_url |
widget_recent-posts |
reactive_builder_admin_notices |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
category_children |
Browser metrics Passed 4 tests
Reactive LITE - Advanced WordPress Searching Filtering & Grid: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,054 ▲319 | 16.95 ▲2.30 | 9.95 ▲8.14 | 39.58 ▼5.12 |
Dashboard /wp-admin | 2,310 ▲122 | 7.31 ▲2.42 | 116.65 ▲0.46 | 45.09 ▼0.53 |
Posts /wp-admin/edit.php | 2,201 ▲112 | 4.34 ▲2.35 | 51.51 ▲13.23 | 36.50 ▲2.75 |
Add New Post /wp-admin/post-new.php | 1,603 ▲69 | 19.60 ▼3.70 | 688.55 ▲0.33 | 37.45 ▼17.51 |
Media Library /wp-admin/upload.php | 1,495 ▲107 | 6.80 ▲2.59 | 123.03 ▲12.77 | 45.46 ▼2.61 |
System Status /wp-admin/admin.php?page=reactive_status | 998 | 4.03 | 44.21 | 29.38 |
Reactive /wp-admin/admin.php?page=reactive_admin | 955 | 3.98 | 39.35 | 29.92 |
Geobox(Pro) /wp-admin/admin.php?page=reactive_geobox | 891 | 4.11 | 42.81 | 25.01 |
Settings(Pro) /wp-admin/admin.php?page=reactive_settings | 891 | 4.22 | 40.81 | 24.68 |
All Reactive Builder /wp-admin/edit.php?post_type=reactive_builder | 1,174 | 4.29 | 44.71 | 27.55 |
Add New Reactive Builder /wp-admin/post-new.php?post_type=reactive_builder | 1,643 | 5.74 | 77.62 | 90.79 |
Meta Restrictions(Pro) /wp-admin/admin.php?page=meta_restrictions | 891 | 4.10 | 42.97 | 26.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_re_lat_lng
- This plugin did not uninstall successfully, leaving 9 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- category_children
- webpack_public_path_url
- widget_recent-comments
- can_compress_scripts
- reactive_builder_admin_notices
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-general-settings.php
- > /wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-meta-restrictions.php
- > /wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-addons.php
- > /wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-admin.php
- > /wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-geobox-settings.php
- > /wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-templates.php
- 30× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/map-info-template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/grid-template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/preview-popup-template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-geobox-html.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/shortcodes/grid-preview.php:2
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/vendor/doctrine/inflector/tests/Doctrine/Tests/DoctrineTestCase.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/reactive-templates/layouts/layout.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/shortcodes/preview.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-system-status.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reactive-lite-advance-searching-filtering-grid/reactive-templates/layouts/category-layout.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=reactive_status
- > Network (severe)
wp-content/plugins/reactive-lite-advance-searching-filtering-grid/admin/admin-template/reactive-test-memory.php - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=reactive_geobox
- > Javascript (severe) in unknown
/wp-content/plugins/reactive-lite-advance-searching-filtering-grid/assets/dist/js/re_geoboxSettings_b0c9db.js?ver=6.3.1 0:36742 Uncaught ReferenceError: REACTIVE_ADMIN is not defined
- > GET request to /wp-admin/admin.php?page=reactive_settings
- > Javascript (severe) in unknown
/wp-content/plugins/reactive-lite-advance-searching-filtering-grid/assets/dist/js/re_generalSettings_733e74.js?ver=6.3.1 0:37145 Uncaught ReferenceError: REACTIVE_ADMIN is not defined
- > GET request to /wp-admin/admin.php?page=meta_restrictions
- > Javascript (severe) in unknown
/wp-content/plugins/reactive-lite-advance-searching-filtering-grid/assets/dist/js/re_metaRestrictions_dc97b2.js?ver=6.3.1 0:36744 Uncaught ReferenceError: REACTIVE_ADMIN is not defined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Too many tags (37 tag instead of maximum 10); only the first 5 tags are used in your directory listing
reactive-lite-advance-searching-filtering-grid/index.php 85% from 13 tests
This is the main PHP file of "Reactive LITE - Advanced WordPress Searching Filtering & Grid" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("reactive-lite-advance-searching-filtering-grid.php" instead of "index.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
Success! There were no dangerous files found in this plugin25,339 lines of code in 179 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 64 | 1,045 | 1,042 | 9,265 |
PHP | 67 | 1,051 | 1,621 | 7,027 |
CSS | 24 | 459 | 221 | 4,086 |
PO File | 6 | 2,304 | 3,549 | 3,312 |
XML | 7 | 57 | 117 | 1,197 |
JSON | 6 | 0 | 0 | 321 |
Markdown | 2 | 56 | 0 | 108 |
YAML | 1 | 5 | 0 | 16 |
SVG | 2 | 0 | 0 | 7 |
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.41 |
Average class complexity | 23.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 187.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 3 | 8.11% |
▷ Concrete classes | 34 | 91.89% |
▷ Final classes | 0 | 0.00% |
Methods | 276 | |
▷ Static methods | 17 | 6.16% |
▷ Public methods | 247 | 89.49% |
▷ Protected methods | 23 | 8.33% |
▷ Private methods | 6 | 2.17% |
Functions | 16 | |
▷ Named functions | 13 | 81.25% |
▷ Anonymous functions | 3 | 18.75% |
Constants | 14 | |
▷ Global constants | 12 | 85.71% |
▷ Class constants | 2 | 14.29% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/img/location.png | 3.48KB | 1.72KB | ▼ 50.62% |
assets/dist/img/cluster.png | 1.84KB | 0.84KB | ▼ 54.41% |
assets/dist/img/cluster-s.png | 2.22KB | 0.95KB | ▼ 57.22% |
assets/dist/img/cluster-n.png | 2.25KB | 0.93KB | ▼ 58.42% |
assets/dist/img/GridPlaceholder.png | 5.67KB | 0.75KB | ▼ 86.71% |