Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.37MB] [CPU: ▼4.69ms] Passed 4 tests
An overview of server-side resources used by RateMyAgent Official
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 40.52 ▲2.87 |
Dashboard /wp-admin | 3.68 ▲0.38 | 44.62 ▼3.29 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 44.46 ▲0.14 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 83.02 ▼12.13 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 34.10 ▼3.46 |
Setup Wizard /wp-admin/admin.php?page=rma-settings-wizard | 3.66 | 39.83 |
Get Started /wp-admin/admin.php?page=rma-settings | 3.62 | 32.02 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 87 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
rma-plugin-settings |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for RateMyAgent Official
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲120 | 13.39 ▼1.36 | 5.25 ▲3.55 | 50.98 ▲1.53 |
Dashboard /wp-admin | 2,255 ▲67 | 5.80 ▲0.93 | 98.33 ▼6.66 | 35.72 ▼9.17 |
Posts /wp-admin/edit.php | 2,135 ▲49 | 2.06 ▲0.08 | 37.18 ▼1.33 | 31.78 ▼4.61 |
Add New Post /wp-admin/post-new.php | 6,231 ▲4,712 | 21.72 ▲0.69 | 870.48 ▲120.53 | 52.46 ▼3.90 |
Media Library /wp-admin/upload.php | 1,431 ▲46 | 4.34 ▲0.15 | 94.23 ▼24.63 | 40.95 ▼18.78 |
Setup Wizard /wp-admin/admin.php?page=rma-settings-wizard | 859 | 2.06 | 24.07 | 30.57 |
Get Started /wp-admin/admin.php?page=rma-settings | 914 | 2.02 | 26.03 | 29.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- rma-plugin-settings
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ratemyagent-official/blocks/ReviewCarousel/Shortcode/partials/full-review-template.partial.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/ratemyagent-official/admin/Settings/General/AdvancedTab/partial.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/ratemyagent-official/blocks/ReviewCarousel/Shortcode/partials/multi-card-template.partial.php:92
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/ratemyagent-official/admin/SetupWizard/partial.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ratemyagent-official/admin/Settings/Theme/partial.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/ratemyagent-official/admin/Settings/General/SettingsTab/partial.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ratemyagent-official/admin/Settings/General/partial.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/ratemyagent-official/admin/Settings/GetStarted/partial.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/ratemyagent-official/blocks/ListingCarousel/Shortcode/partials/multi-card-template.partial.php:86
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: real estate, reviews
ratemyagent-official/rma-wordpress.php 92% from 13 tests
The main PHP script in "RateMyAgent Official" version 1.3.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ratemyagent-official.php" instead of "rma-wordpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin4,329 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 615 | 324 | 2,932 |
CSS | 9 | 1 | 74 | 666 |
PO File | 2 | 210 | 260 | 634 |
JSON | 2 | 0 | 0 | 82 |
SVG | 4 | 0 | 0 | 10 |
JavaScript | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 4.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 214 | |
▷ Static methods | 98 | 45.79% |
▷ Public methods | 151 | 70.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 63 | 29.44% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 4 | 33.33% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin