99% easy-search

Code Review | Easy Search

WordPress plugin Easy Search scored 99% from 54 tests.

About plugin

  • Plugin page: easy-search
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.4
  • WordPress version: 5.8.1
  • First release: Jun 5, 2020
  • Latest release: Jun 6, 2020
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: Mahesh901122 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 230 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼144.63ms] Passed 4 tests

Server-side resources used by Easy Search
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.0336.36 ▼3.63
Dashboard /wp-admin3.08 ▲0.0257.84 ▲1.88
Posts /wp-admin/edit.php3.13 ▲0.0251.38 ▼3.88
Add New Post /wp-admin/post-new.php5.44 ▲0.01100.93 ▼570.86
Media Library /wp-admin/upload.php3.02 ▲0.0236.77 ▼0.13

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Easy Search
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,811 ▲23916.77 ▲1.2018.52 ▲6.2947.67 ▼4.38
Dashboard /wp-admin2,969 ▲355.89 ▼0.07175.17 ▲4.31107.83 ▼7.35
Posts /wp-admin/edit.php2,747 ▲82.72 ▲0.0074.49 ▼2.4398.17 ▼7.92
Add New Post /wp-admin/post-new.php1,702 ▲1918.42 ▼0.37412.32 ▲4.35117.20 ▲7.87
Media Library /wp-admin/upload.php1,815 ▲85.03 ▼0.01162.49 ▼32.72125.64 ▲1.91

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in easy-search/assets to your readme.txt
Please take inspiration from this readme.txt

easy-search/easy-search.php 92% from 13 tests

Analyzing the main PHP file in "Easy Search" version 1.1.0
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 188 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected512 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
Sass3111206
JavaScript44580163
PHP22768141
CSS2002

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin