Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▼2.57ms] Passed 4 tests
Server-side resources used by Easy Search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 38.35 ▲0.33 |
Dashboard /wp-admin | 3.51 ▲0.20 | 44.84 ▼2.70 |
Posts /wp-admin/edit.php | 3.63 ▲0.26 | 46.15 ▲1.10 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 91.93 ▼8.99 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 37.31 ▲2.51 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Search
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲160 | 13.75 ▼0.62 | 9.17 ▲7.34 | 38.62 ▲1.75 |
Dashboard /wp-admin | 2,237 ▲60 | 5.65 ▲0.13 | 87.46 ▼0.98 | 36.00 ▼3.36 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 1.99 ▼0.02 | 37.66 ▲4.66 | 36.81 ▲2.68 |
Add New Post /wp-admin/post-new.php | 6,218 ▲4,692 | 19.35 ▼3.77 | 905.98 ▲225.67 | 62.97 ▲11.05 |
Media Library /wp-admin/upload.php | 1,439 ▲45 | 4.22 ▲0.06 | 93.23 ▼1.58 | 39.55 ▼4.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: quick search, gutenberg, autocomplete, ajax search, search
easy-search/easy-search.php 92% from 13 tests
Analyzing the main PHP file in "Easy Search" version 1.2.3
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,712 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 181 | 598 | 1,183 |
CSS | 3 | 47 | 4 | 243 |
JSON | 2 | 0 | 0 | 197 |
JavaScript | 3 | 22 | 13 | 81 |
SVG | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 20.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 70 | |
▷ Static methods | 21 | 30.00% |
▷ Public methods | 63 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 10.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin