Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.52ms] Passed 4 tests
A check of server-side resources used by Realty Portal - Floor Plan
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.06 ▼0.75 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.68 ▼12.17 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.77 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.98 ▼19.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.29 ▲1.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Realty Portal - Floor Plan: 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,800 ▲54 | 13.19 ▼1.19 | 1.86 ▼0.03 | 42.87 ▲2.57 |
Dashboard /wp-admin | 2,206 ▲14 | 5.77 ▲0.85 | 96.70 ▼11.17 | 38.71 ▼5.53 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.01 | 40.31 ▼2.80 | 34.92 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,519 ▼17 | 23.02 ▲0.05 | 686.34 ▲29.95 | 59.75 ▲5.92 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▼0.03 | 93.81 ▼18.60 | 40.69 ▼4.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/realty-portal-floor-plan/templates/floor-plan.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/realty-portal-floor-plan/realty-portal-floor-plan-functions.php:110
- > PHP Fatal error
Uncaught Error: Call to undefined function rp_add_custom_field_type() in wp-content/plugins/realty-portal-floor-plan/fields/floor_plans/floor_plans.php:114
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Property Listings), #2 (Property Detail), #3 (Agent Listings), #4 (Agent Detail), #5 (Property Map)
realty-portal-floor-plan/realty-portal-floor-plan.php Passed 13 tests
This is the main PHP file of "Realty Portal - Floor Plan" version 0.3.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
116 characters long description:
An add-on to display detailed information of properties. Easy to add as many plans as you want. Work with any theme!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected657 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 100 | 117 | 500 |
JavaScript | 1 | 43 | 15 | 157 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 13 | |
▷ Static methods | 10 | 76.92% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin