Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼174.38ms] Passed 4 tests
Server-side resources used by Slider Revolution Search Replace
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.12 | 43.41 ▲19.65 |
Dashboard /wp-admin | 3.06 ▲0.00 | 46.60 ▼5.22 |
Posts /wp-admin/edit.php | 3.11 ▼0.01 | 57.64 ▲2.20 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 104.52 ▼684.95 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 29.02 ▼9.55 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Slider Revolution Search Replace
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.90 ▲0.32 | 9.25 ▼1.77 | 50.31 ▼0.51 |
Dashboard /wp-admin | 2,973 ▲42 | 5.96 ▼0.02 | 143.06 ▲6.79 | 116.53 ▼3.80 |
Posts /wp-admin/edit.php | 2,717 ▼22 | 2.72 ▼0.00 | 74.88 ▼9.17 | 129.53 ▲41.62 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.76 ▲0.47 | 440.38 ▲41.06 | 108.22 ▼2.36 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.03 ▲0.02 | 168.66 ▲9.29 | 121.67 ▼1.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: search replace, update database urls, database
slider-revolution-search-replace/slider-revolution-search-replace.php Passed 13 tests
The entry point to "Slider Revolution Search Replace" version 1.0 is a PHP file that has certain tags in its header comment area
67 characters long description:
Replace url of old domain to new domain for revolution slider only.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin159 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 22 | 159 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
No PNG files were detected