Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.67MB] [CPU: ▼18.86ms] Passed 4 tests
Analyzing server-side resources used by Simple Html Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.98 ▲1.65 |
Dashboard /wp-admin | 3.32 ▼0.02 | 43.64 ▼13.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.93 ▲2.99 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.69 | 34.04 ▼63.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.88 ▲0.25 |
Server storage [IO: ▲15.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 458 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_quetzal_simple_html_search |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Html Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲107 | 15.41 ▲1.15 | 5.81 ▲4.17 | 32.98 ▼6.81 |
Dashboard /wp-admin | 2,241 ▲49 | 6.26 ▲1.32 | 113.25 ▲6.77 | 36.19 ▼3.65 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 3.13 ▲1.08 | 43.73 ▲8.69 | 33.31 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,709 ▲190 | 26.33 ▲3.00 | 617.42 ▼51.27 | 32.54 ▼20.53 |
Media Library /wp-admin/upload.php | 1,493 ▲111 | 5.53 ▲1.31 | 98.21 ▲0.31 | 40.91 ▼2.18 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-html-search/includes/QuetzalShsAdmin.php:14
- > PHP Notice
Trying to get property 'base_prefix' of non-object in wp-content/plugins/simple-html-search/includes/QuetzalShsAdmin.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Contributors: Plugin contributors not specified
simple-html-search/simple-html-search.php Passed 13 tests
The main PHP script in "Simple Html Search" version 1.0 is automatically included on every request by WordPress
98 characters long description:
A complete customizable search bar and results with html/css (support at fabiopallini01@gmail.com)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin280,722 lines of code in 457 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 449 | 10,489 | 26,191 | 280,231 |
PHP | 5 | 77 | 47 | 294 |
Markdown | 1 | 76 | 0 | 126 |
CSS | 2 | 14 | 5 | 71 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 16.67% |
Functions | 8 | |
▷ Named functions | 3 | 37.50% |
▷ Anonymous functions | 5 | 62.50% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 are no PNG files in this plugin