Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/doms-search/doms-search.php+171
Undefined variable: content
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.22ms] Passed 4 tests
A check of server-side resources used by DOMS Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.07 ▼11.94 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.45 ▼3.42 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.76 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.74 ▼2.65 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.46 ▲0.95 |
DOMS Search Menu /wp-admin/options-general.php?page=doms-search | 3.19 | 30.42 |
Server storage [IO: ▲2.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for DOMS Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.44 ▲0.08 | 1.86 ▲0.08 | 42.43 ▼1.44 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▼0.02 | 107.03 ▼10.37 | 41.53 ▼2.05 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.04 | 40.49 ▲4.66 | 34.66 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,547 ▲11 | 18.34 ▼4.95 | 594.17 ▼37.86 | 62.44 ▲2.04 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.30 ▲0.13 | 98.71 ▼4.83 | 42.11 ▼0.16 |
DOMS Search Menu /wp-admin/options-general.php?page=doms-search | 836 | 2.06 | 24.53 | 27.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=doms-search
- > Notice in wp-content/plugins/doms-search/includes/options.php+89
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Contributors: The plugin contributors field is missing
doms-search/doms-search.php Passed 13 tests
Analyzing the main PHP file in "DOMS Search" version 0.0.2
74 characters long description:
Plugin to enable filter search by PDF's, Doc's, Images and/or Videos 🚀.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin9,155 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,770 |
PHP | 5 | 53 | 66 | 316 |
PO File | 1 | 25 | 26 | 67 |
CSS | 2 | 0 | 8 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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