Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼151.75ms] Passed 4 tests
Analyzing server-side resources used by Did you mean by ServerLin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.13 | 32.38 ▼0.29 |
Dashboard /wp-admin | 3.07 ▲0.01 | 44.98 ▼8.07 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 50.04 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 91.27 ▼594.49 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 35.26 ▼4.04 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Did you mean by ServerLin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲73 | 15.76 ▲0.24 | 7.65 ▼0.71 | 50.28 ▼2.44 |
Dashboard /wp-admin | 2,989 ▲58 | 5.94 ▼0.02 | 149.29 ▼2.90 | 107.51 ▼5.25 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.01 | 73.80 ▲8.07 | 92.53 ▼7.43 |
Add New Post /wp-admin/post-new.php | 1,615 ▼68 | 21.22 ▲2.45 | 293.77 ▼97.74 | 104.17 ▼18.19 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 4.99 ▼0.03 | 156.21 ▼1.09 | 127.82 ▲6.70 |
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 completely, with no zombie files or tables
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/did-you-mean-by-serverlin/did-you-mean-by-serverlin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== did-you-mean-by-serverlin ===
)
did-you-mean-by-serverlin/did-you-mean-by-serverlin.php Passed 13 tests
The entry point to "Did you mean by ServerLin" version 1.2 is a PHP file that has certain tags in its header comment area
85 characters long description:
This plugin will show Google like did you mean feature on your WordPress search page.
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 plugin34 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 11 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin