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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.91ms] Passed 4 tests
Server-side resources used by SearchPlus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.04 ▼2.51 |
Dashboard /wp-admin | 3.32 ▼0.03 | 52.06 ▼11.45 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.79 ▼4.27 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.98 ▼13.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.87 ▲0.40 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
SearchPlus: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲234 | 14.11 ▼0.19 | 18.25 ▲16.44 | 42.25 ▼0.49 |
Dashboard /wp-admin | 2,241 ▲38 | 5.01 ▼0.85 | 115.21 ▲4.39 | 32.34 ▼11.89 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.23 ▲0.22 | 39.74 ▲2.13 | 33.68 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,697 ▲166 | 23.21 ▼0.03 | 660.16 ▼24.24 | 61.57 ▲4.78 |
Media Library /wp-admin/upload.php | 1,484 ▲81 | 4.42 ▲0.23 | 101.12 ▼1.59 | 43.56 ▼1.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/searchplus/searchplus.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function searchplus_account_token() in wp-content/plugins/searchplus/includes/searchplus_page_account.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/searchplus/includes/functions.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 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
6 plugin tags: autocomplete, voice, search, type ahead, navigation...
searchplus/searchplus.php Passed 13 tests
This is the main PHP file of "SearchPlus" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
24 characters long description:
Search+ WordPress PlugIn
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected219 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 86 | 169 | 212 |
JavaScript | 2 | 6 | 22 | 6 |
CSS | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin