Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.35ms] Passed 4 tests
This is a short check of server-side resources used by Word Replacer Pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 47.40 ▲5.28 |
Dashboard /wp-admin | 3.33 ▲0.03 | 54.69 ▲3.66 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.47 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.18 ▼13.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.53 ▲3.95 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Word Replacer Pro: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 13.67 ▼0.40 | 2.11 ▼0.06 | 40.32 ▼3.53 |
Dashboard /wp-admin | 2,233 ▲33 | 5.80 ▼0.11 | 109.19 ▼6.45 | 44.62 ▲5.25 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.00 ▼0.04 | 37.84 ▼0.22 | 36.18 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,560 ▲15 | 23.05 ▼0.18 | 597.79 ▼96.95 | 51.68 ▼5.96 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.27 ▲0.01 | 102.05 ▼8.54 | 41.69 ▼4.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 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 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/word-replacer-ultra/word-replacer-ultra.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Donate link: Invalid URI ("")
word-replacer-ultra/word-replacer-ultra.php Passed 13 tests
The main PHP script in "Word Replacer Pro" version 1.0 is automatically included on every request by WordPress
59 characters long description:
Search and Replace in Post, Pages and all Custom Post Type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin201 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 12 | 22 | 156 |
JavaScript | 2 | 3 | 3 | 44 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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 images were found in this plugin