Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.51ms] Passed 4 tests
Server-side resources used by Multiple Category Search Storm
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.39 ▲0.32 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.90 ▼4.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.44 ▼0.39 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 95.70 ▼2.89 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.41 ▼1.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Multiple Category Search Storm
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 14.47 ▼0.28 | 2.04 ▲0.35 | 45.36 ▲0.33 |
Dashboard /wp-admin | 2,224 ▲39 | 5.88 ▲0.03 | 97.79 ▼14.59 | 79.52 ▲38.65 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.98 ▼0.08 | 40.27 ▲0.52 | 34.98 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 23.12 ▼0.22 | 655.86 ▼15.14 | 55.86 ▼5.93 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.24 ▼0.03 | 104.02 ▼0.61 | 77.13 ▲31.95 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/search-storm/help/help-en-US.php
- > /wp-content/plugins/search-storm/help/help-it-IT.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/search-storm/admin.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/search-storm/index.php:43
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/search-storm/hooks.php on line 26
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please describe screenshot #3 in search-storm/assets to your readme.txt
- Donate link: Invalid URI found ("")
search-storm/index.php 92% from 13 tests
This is the main PHP file of "Multiple Category Search Storm" version 1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("search-storm.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin326 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 84 | 96 | 298 |
CSS | 1 | 10 | 0 | 28 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/searchstorm.png | 1.88KB | 1.59KB | ▼ 15.22% |
img/searchstorm16.png | 0.80KB | 0.90KB | 0.00% |