Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲3.64ms] Passed 4 tests
An overview of server-side resources used by Lucas String Replace
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.19 ▼1.27 |
Dashboard /wp-admin | 3.42 ▲0.11 | 53.54 ▲2.58 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 75.19 ▲24.79 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 106.33 ▲11.61 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.38 ▲1.63 |
Lucas String Replace /wp-admin/options-general.php?page=lucas_strrep_settings | 3.31 | 37.22 |
Server storage [IO: ▲0.04MB] [DB: ▲0.33MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
lucas_strrep_version |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Lucas String Replace
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲15 | 13.31 ▼1.14 | 1.87 ▲0.11 | 44.61 ▲0.24 |
Dashboard /wp-admin | 2,210 ▲1 | 5.74 ▲0.90 | 103.14 ▲4.26 | 41.65 ▼0.53 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.05 | 39.86 ▼0.07 | 35.69 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.10 ▲0.02 | 772.89 ▲83.41 | 54.49 ▼6.36 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.05 | 94.19 ▼5.62 | 41.73 ▼0.34 |
Lucas String Replace /wp-admin/options-general.php?page=lucas_strrep_settings | 816 | 2.05 | 25.65 | 27.30 |
Uninstaller [IO: ✅] [DB: ▲0.33MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- lucas_strrep_version
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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)
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
lucas-string-replace/lucas-string-replace.php Passed 13 tests
The main PHP script in "Lucas String Replace" version 2.0.5 is automatically included on every request by WordPress
126 characters long description:
Change anything: Lucas String Replace takes the final output of WordPress and replaces the defined strings with another string
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
Success! There were no dangerous files found in this plugin667 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 228 | 61 | 589 |
PO File | 1 | 21 | 22 | 78 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 37.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 5.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.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 | 25 | |
▷ Static methods | 3 | 12.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG images were not found in this plugin