78% search-storm

Code Review | Multiple Category Search Storm

WordPress plugin Multiple Category Search Storm scored78%from 54 tests.

About plugin

  • Plugin page: search-storm
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0-4.4.2
  • WordPress version: 6.3.1
  • First release: Jul 4, 2013
  • Latest release: Apr 11, 2016
  • Number of updates: 18
  • Update frequency: every 56.3 days
  • Top authors: imseosrl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,525 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.39 ▲0.32
Dashboard /wp-admin3.35 ▲0.0544.90 ▼4.92
Posts /wp-admin/edit.php3.41 ▲0.0547.44 ▼0.39
Add New Post /wp-admin/post-new.php5.93 ▲0.0595.70 ▼2.89
Media Library /wp-admin/upload.php3.28 ▲0.0535.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲10714.47 ▼0.282.04 ▲0.3545.36 ▲0.33
Dashboard /wp-admin2,224 ▲395.88 ▲0.0397.79 ▼14.5979.52 ▲38.65
Posts /wp-admin/edit.php2,107 ▲181.98 ▼0.0840.27 ▲0.5234.98 ▼2.07
Add New Post /wp-admin/post-new.php1,527 ▼623.12 ▼0.22655.86 ▼15.1455.86 ▼5.93
Media Library /wp-admin/upload.php1,397 ▲124.24 ▼0.03104.02 ▼0.6177.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

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 ("")
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP108496298
CSS110028

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 code0.34
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants21
▷ Global constants21100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
img/searchstorm.png1.88KB1.59KB▼ 15.22%
img/searchstorm16.png0.80KB0.90KB0.00%