Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.28ms] Passed 4 tests
Server-side resources used by Realty Portal - Nearby Places
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.61 ▼6.61 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.17 ▼0.31 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.77 ▼1.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.27 ▲4.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.51 ▼0.72 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Realty Portal - Nearby Places
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.44 ▲0.14 | 1.93 ▲0.15 | 43.20 ▼5.42 |
Dashboard /wp-admin | 2,209 ▲24 | 4.86 ▼0.04 | 100.29 ▼12.90 | 42.52 ▲0.81 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.02 ▲0.01 | 39.63 ▲3.33 | 34.03 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.22 ▼0.11 | 618.37 ▼60.43 | 47.89 ▼4.15 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.32 ▲0.15 | 93.49 ▼12.55 | 43.05 ▼3.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Realty_Portal' not found in wp-content/plugins/realty-portal-nearby-places/realty-portal-nearby-places-functions.php:3
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: agent, real-estate, property management, property, listings...
realty-portal-nearby-places/realty-portal-nearby-places.php Passed 13 tests
The main PHP file in "Realty Portal - Nearby Places" ver. 0.3.9 adds more information about the plugin and also serves as the entry point for this plugin
98 characters long description:
Quickly display places nearby the property. Get data from Walkscore and Yelp. Work with any theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected2,205 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 10 | 193 | 868 |
PHP | 3 | 116 | 95 | 549 |
Markdown | 3 | 126 | 0 | 315 |
CSS | 3 | 27 | 37 | 258 |
LESS | 1 | 4 | 0 | 123 |
JSON | 3 | 0 | 0 | 92 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 11 | |
▷ Static methods | 8 | 72.73% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/yelp-logo.png | 2.31KB | 1.72KB | ▼ 25.33% |