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.01MB] [CPU: ▲0.84ms] Passed 4 tests
An overview of server-side resources used by Real-Time Find and Replace
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.80 ▲1.23 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.60 ▲2.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.17 ▲1.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 98.44 ▲4.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.62 ▼2.29 |
Real-Time Find and Replace /wp-admin/tools.php?page=real-time-find-and-replace | 3.20 | 30.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Real-Time Find and Replace: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.23 ▼0.13 | 1.74 ▲0.02 | 44.87 ▲9.03 |
Dashboard /wp-admin | 2,199 ▲18 | 5.64 ▼0.02 | 90.87 ▼8.70 | 38.98 ▼3.69 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.02 | 44.02 ▲8.91 | 41.50 ▲4.83 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 22.97 ▼0.29 | 659.46 ▼31.73 | 59.17 ▲7.30 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.16 ▼0.04 | 98.39 ▼3.67 | 41.76 ▼2.08 |
Real-Time Find and Replace /wp-admin/tools.php?page=real-time-find-and-replace | 970 | 1.79 | 26.78 | 29.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: regex find, on demand find, on demand replace, search and replace, regex replace...
real-time-find-and-replace/real-time-find-and-replace.php 92% from 13 tests
The main PHP script in "Real-Time Find and Replace" version 4.0.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 361 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
No dangerous file extensions were detected381 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 43 | 205 |
CSS | 1 | 16 | 0 | 117 |
JavaScript | 2 | 19 | 4 | 59 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/draggable.png | 2.73KB | 0.13KB | ▼ 95.17% |