Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.93ms] Passed 4 tests
An overview of server-side resources used by ACS ADVANCED SEARCH
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.53 ▲0.79 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.03 ▼8.63 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.43 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 79.72 ▼11.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.69 ▲0.55 |
ACS Advanced Search /wp-admin/options-general.php?page=acs-advanced-search-options | 3.26 | 27.97 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
acs-advanced-custom-search-settings |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACS ADVANCED SEARCH
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲134 | 13.73 ▼0.52 | 8.35 ▲6.38 | 43.71 ▼2.00 |
Dashboard /wp-admin | 2,212 ▲24 | 5.84 ▲0.92 | 98.97 ▼16.81 | 38.74 ▼9.27 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.02 ▼0.02 | 40.30 ▲3.37 | 37.60 ▲2.89 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.49 ▲0.88 | 623.43 ▼65.65 | 58.18 ▲1.57 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.20 ▼0.00 | 99.69 ▼1.32 | 41.38 ▼2.14 |
ACS Advanced Search /wp-admin/options-general.php?page=acs-advanced-search-options | 1,014 | 2.03 | 26.55 | 34.00 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- acs-advanced-custom-search-settings
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=acs-advanced-search-options
- > Notice in wp-content/plugins/acs-advanced-search/admin/class-acs-advanced-search-backend.php+359
Undefined variable: date_selected
- > GET request to /wp-admin/options-general.php?page=acs-advanced-search-options
- > Notice in wp-content/plugins/acs-advanced-search/admin/class-acs-advanced-search-backend.php+360
Undefined variable: date_range_selected
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/acs-advanced-search/admin/acs-display-options-page.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (screenshot-1.png), #2 (screenshot-2.png)
acs-advanced-search/acs-advanced-search.php 92% from 13 tests
The main file in "ACS ADVANCED SEARCH" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,355 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 150 | 425 | 919 |
CSS | 4 | 39 | 64 | 428 |
JavaScript | 1 | 2 | 8 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 37.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 90.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.76% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.13MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 84.23KB | 37.99KB | ▼ 54.89% |
assets/images/select-image.png | 0.17KB | 0.18KB | 0.00% |
assets/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
assets/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/images/ui-icons_ffd27a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |