Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/realty-portal-agent-dashboard/realty-portal-agent-dashboard.php+99
Use of undefined constant REALTY_PORTAL - assumed 'REALTY_PORTAL' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.48ms] Passed 4 tests
A check of server-side resources used by Realty Portal - Agent Dashboard
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 49.62 ▲6.83 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.53 ▼1.49 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.15 ▲5.62 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.39 ▼15.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.02 ▼2.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Realty Portal - Agent Dashboard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.56 ▼0.57 | 1.85 ▼0.03 | 39.58 ▼3.92 |
Dashboard /wp-admin | 2,206 ▲21 | 5.85 ▼0.03 | 101.94 ▼1.06 | 39.38 ▲0.22 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.04 | 40.71 ▼1.58 | 36.73 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,542 ▲13 | 18.48 ▲0.49 | 646.76 ▲10.76 | 62.86 ▲10.71 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.21 ▲0.06 | 102.56 ▲2.04 | 45.54 ▲0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'RP_Shortcodes' not found in wp-content/plugins/realty-portal-agent-dashboard/includes/class-agent-dashboard-shortcode.php:12
- > PHP Fatal error
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:
- Screenshots: Add images for these screenshots: #1 (Property Listings), #2 (Property Detail), #3 (Agent Listings), #4 (Agent Detail), #5 (Property Map)
realty-portal-agent-dashboard/realty-portal-agent-dashboard.php Passed 13 tests
The main file in "Realty Portal - Agent Dashboard" v. 0.3.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
An add-on helps to Add, Edit or Delete properties in the front-end. Work with any theme!
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
Good job! No executable or dangerous file extensions detected327 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 80 | 153 | 327 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 18 | |
▷ Static methods | 14 | 77.78% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
There are no PNG files in this plugin