Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/realty-portal-agent-profile/realty-portal-agent-profile.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: ▼141.95ms] Passed 4 tests
This is a short check of server-side resources used by Realty Portal - Agent Profile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 40.99 ▲15.68 |
Dashboard /wp-admin | 3.06 ▲0.00 | 50.63 ▲4.82 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 55.79 ▼0.35 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 103.80 ▼572.41 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 38.89 ▲0.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Realty Portal - Agent Profile
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.91 ▲0.33 | 11.46 ▲1.15 | 55.24 ▲4.91 |
Dashboard /wp-admin | 2,970 ▲36 | 5.91 ▲0.02 | 160.60 ▼4.18 | 141.75 ▲19.12 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 80.61 ▼1.85 | 97.94 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,615 ▼0 | 21.50 ▲0.04 | 326.18 ▼15.47 | 125.70 ▼9.07 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.01 | 185.79 ▲12.32 | 137.77 ▼5.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'RP_Shortcodes' not found in wp-content/plugins/realty-portal-agent-profile/includes/class-agent-profile-shortcode.php:12
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Property Listings), #2 (Property Detail), #3 (Agent Listings), #4 (Agent Detail), #5 (Property Map)
realty-portal-agent-profile/realty-portal-agent-profile.php Passed 13 tests
The entry point to "Realty Portal - Agent Profile" version 0.3.9 is a PHP file that has certain tags in its header comment area
118 characters long description:
The add-on to help agents manage all personal information. Edit information anytime in front-end. Work with any theme!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin299 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 74 | 148 | 299 |
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.19 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin