Benchmarks
Plugin footprint 83% from 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: ▼3.99ms] Passed 4 tests
Server-side resources used by OCSR ( OneClick search & replace ) OCSR URLs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 36.14 ▼5.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.02 ▼14.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.96 ▲0.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.29 ▲3.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 42.63 ▲6.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for OCSR ( OneClick search & replace ) OCSR URLs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.43 ▼0.94 | 5.23 ▲3.51 | 38.53 ▼8.58 |
Dashboard /wp-admin | 2,225 ▲40 | 5.88 ▼0.00 | 96.96 ▼1.03 | 72.77 ▲32.63 |
Posts /wp-admin/edit.php | 2,111 ▲25 | 2.02 ▲0.01 | 41.50 ▲0.26 | 35.12 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,684 ▲151 | 22.56 ▼0.61 | 626.33 ▼55.81 | 42.35 ▼24.32 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.13 ▼0.10 | 115.22 ▲0.39 | 45.52 ▼4.67 |
OCSR URLs /wp-admin/ocsr-url-update-urls.php | 26 | 0.44 | 0.10 | 14.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested
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 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/ocsr-url-update-urls.php
- > Network (severe)
wp-admin/ocsr-url-update-urls.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (The Admin screen for the plugin. screenshot-1.png)
- Tags: You are using too many tags: 15 tag instead of maximum 10
better-search-and-replace/ocsr-url-update-urls.php 77% from 13 tests
"OCSR ( OneClick search & replace ) OCSR URLs" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 279 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("better-search-and-replace.php" instead of "ocsr-url-update-urls.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected447 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 25 | 327 |
JavaScript | 1 | 10 | 0 | 66 |
CSS | 1 | 10 | 0 | 54 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 1.69KB | 1.75KB | 0.00% |
images/icon.png | 0.58KB | 0.56KB | ▼ 2.70% |