Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.28ms] Passed 4 tests
Server-side resources used by WP Backend File Search & Editor Tweaks Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.92 ▲1.92 |
Dashboard /wp-admin | 3.45 ▲0.14 | 49.71 ▼1.42 |
Posts /wp-admin/edit.php | 3.55 ▲0.18 | 45.80 ▼3.43 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 77.06 ▼22.18 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 37.60 ▲2.88 |
Server storage [IO: ▲6.52MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 361 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
WP_BACKEND_SEARCH_VERSION |
wp_backend_search_lite_show_activation_tip |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Backend File Search & Editor Tweaks Lite: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.73 ▲0.03 | 1.74 ▲0.03 | 44.33 ▲1.21 |
Dashboard /wp-admin | 2,239 ▲59 | 5.64 ▲0.05 | 92.51 ▲3.59 | 48.06 ▲4.89 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 2.16 ▲0.16 | 40.15 ▼5.19 | 38.30 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,567 ▲39 | 23.02 ▼0.21 | 674.33 ▲9.06 | 51.85 ▼7.82 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.29 ▲0.12 | 99.08 ▲0.76 | 45.89 ▲2.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- wp_backend_search_lite_show_activation_tip
- can_compress_scripts
- WP_BACKEND_SEARCH_VERSION
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% 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
Attributes that need to be fixed:
- Tags: There are too many tags (37 tag instead of maximum 10)
wp-backend-file-search-editor-tweaks/plugin.php 77% from 13 tests
"WP Backend File Search & Editor Tweaks Lite" version 3.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 278 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("wp-backend-file-search-editor-tweaks.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,223 lines of code in 346 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 338 | 69 | 22 | 571 |
PHP | 6 | 110 | 61 | 372 |
CSS | 2 | 37 | 4 | 280 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 4 | 22.22% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/WP-Backend-File-Search-Plugin.png | 9.63KB | 10.10KB | 0.00% |