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.38MB] [CPU: ▼4.85ms] Passed 4 tests
Analyzing server-side resources used by WPC AJAX Search for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 37.63 ▼5.14 |
Dashboard /wp-admin | 3.70 ▲0.35 | 53.42 ▼11.93 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 55.61 ▲7.69 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 91.80 ▼4.23 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 36.15 ▲1.92 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.80 | 37.13 |
About /wp-admin/admin.php?page=wpclever | 3.59 | 33.22 |
Server storage [IO: ▲0.76MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPC AJAX Search for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲120 | 14.68 ▲0.30 | 1.74 ▲0.08 | 36.18 ▼6.92 |
Dashboard /wp-admin | 2,260 ▲83 | 5.54 ▼0.07 | 94.90 ▲2.29 | 73.42 ▲31.45 |
Posts /wp-admin/edit.php | 2,181 ▲84 | 1.98 ▲0.01 | 41.13 ▲4.12 | 37.83 ▲3.59 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 23.23 ▼0.07 | 709.91 ▲88.91 | 52.47 ▼2.86 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.15 ▼0.07 | 99.95 ▼1.82 | 68.32 ▲24.65 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.13 | 33.80 | 57.70 |
About /wp-admin/admin.php?page=wpclever | 1,400 | 2.23 | 33.28 | 35.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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 your attention:
- Screenshots: These screenshots lack descriptions #1, #2 in wpc-ajax-search/assets to your readme.txt
wpc-ajax-search/wpc-ajax-search.php Passed 13 tests
The main PHP file in "WPC AJAX Search for WooCommerce" ver. 2.2.9 adds more information about the plugin and also serves as the entry point for this plugin
44 characters long description:
An interaction search popup for WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin8,207 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 652 | 95 | 3,713 |
PHP | 5 | 266 | 47 | 1,935 |
CSS | 8 | 311 | 34 | 1,857 |
SVG | 2 | 0 | 0 | 521 |
PO File | 1 | 72 | 80 | 181 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 212.00 |
Average method complexity | 5.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.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 | 55 | |
▷ Static methods | 5 | 9.09% |
▷ Public methods | 55 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin