Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.10ms] Passed 4 tests
A check of server-side resources used by Better Find and Replace
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 42.78 ▲0.23 |
Dashboard /wp-admin | 3.40 ▲0.05 | 48.33 ▼12.65 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.83 ▲2.85 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 98.48 ▼2.82 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.47 ▲3.93 |
Replace in Database /wp-admin/admin.php?page=cs-replace-in-database | 3.51 | 33.21 |
All Replacement Rules /wp-admin/admin.php?page=cs-all-masking-rules | 3.39 | 34.50 |
Add New Rule /wp-admin/admin.php?page=cs-add-replacement-rule | 3.63 | 31.60 |
Restore in Database /wp-admin/admin.php?page=cs-bfar-restore-database-pro | 3.29 | 29.83 |
Go Pro /wp-admin/admin.php?page=cs-bfar-go-pro | 3.28 | 29.33 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 55 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_rtafar_rules |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
rtafar_db_version |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
rtafar_plugin_version |
rtafar_plugin_install_date |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Better Find and Replace
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲190 | 13.47 ▼0.70 | 11.60 ▲9.76 | 33.21 ▼10.38 |
Dashboard /wp-admin | 2,257 ▲79 | 5.69 ▲0.07 | 90.80 ▼24.84 | 82.30 ▲40.70 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.02 ▲0.05 | 39.02 ▲0.45 | 36.65 ▲5.10 |
Add New Post /wp-admin/post-new.php | 1,581 ▲55 | 22.98 ▲0.07 | 752.44 ▲94.95 | 59.80 ▲8.14 |
Media Library /wp-admin/upload.php | 1,459 ▲56 | 4.17 ▲0.03 | 103.10 ▲2.88 | 75.54 ▲34.15 |
Replace in Database /wp-admin/admin.php?page=cs-replace-in-database | 1,306 | 2.42 | 54.23 | 93.29 |
All Replacement Rules /wp-admin/admin.php?page=cs-all-masking-rules | 1,081 | 2.03 | 25.08 | 34.79 |
Add New Rule /wp-admin/admin.php?page=cs-add-replacement-rule | 1,281 | 2.10 | 31.95 | 53.75 |
Restore in Database /wp-admin/admin.php?page=cs-bfar-restore-database-pro | 807 | 2.02 | 27.31 | 24.72 |
Go Pro /wp-admin/admin.php?page=cs-bfar-go-pro | 2,640 | 6.65 | 168.71 | 260.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_rtafar_rules
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- rtafar_db_version
- rtafar_plugin_version
- rtafar_plugin_install_date
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #8 in real-time-auto-find-and-replace/assets to your readme.txt
- Tags: You are using too many tags: 11 tag instead of maximum 10
real-time-auto-find-and-replace/real-time-auto-find-and-replace.php 92% from 13 tests
The main PHP script in "Better Find and Replace" version 1.5.5 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 354 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin17,891 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 12,884 |
PHP | 34 | 924 | 1,495 | 3,931 |
PO File | 1 | 183 | 223 | 508 |
CSS | 4 | 16 | 9 | 354 |
JavaScript | 8 | 2 | 2 | 130 |
Markdown | 1 | 16 | 0 | 84 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 18.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 226 | |
▷ Static methods | 80 | 35.40% |
▷ Public methods | 176 | 77.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 50 | 22.12% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-24x24.png | 0.43KB | 0.64KB | 0.00% |
assets/img/restore-db-pro.png | 24.99KB | 15.13KB | ▼ 39.44% |