Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼8.62ms] Passed 4 tests
This is a short check of server-side resources used by Neptune Real Estate
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 40.86 ▼2.27 |
Dashboard /wp-admin | 3.46 ▲0.16 | 53.51 ▼1.92 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.39 ▼6.11 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 87.05 ▼24.17 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.61 ▲2.11 |
Add New /wp-admin/post-new.php?post_type=property | 3.51 | 54.05 |
amenities /wp-admin/edit-tags.php?taxonomy=amenities&post_type=property | 3.32 | 36.93 |
Properties /wp-admin/edit.php?post_type=property | 3.37 | 36.88 |
Location /wp-admin/edit-tags.php?taxonomy=location&post_type=property | 3.32 | 34.22 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Neptune Real Estate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲182 | 13.80 ▼0.55 | 11.12 ▲9.18 | 41.32 ▼3.17 |
Dashboard /wp-admin | 2,264 ▲93 | 5.66 ▲0.14 | 85.34 ▼4.79 | 81.86 ▲36.21 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.12 ▲0.10 | 40.01 ▼2.86 | 34.67 ▼3.47 |
Add New Post /wp-admin/post-new.php | 1,579 ▲53 | 23.06 ▼0.74 | 684.95 ▲0.26 | 64.21 ▲12.49 |
Media Library /wp-admin/upload.php | 1,469 ▲66 | 4.18 ▼0.14 | 100.72 ▼5.57 | 74.92 ▲27.86 |
Add New /wp-admin/post-new.php?post_type=property | 2,428 | 7.63 | 174.26 | 120.13 |
amenities /wp-admin/edit-tags.php?taxonomy=amenities&post_type=property | 1,337 | 2.26 | 27.79 | 32.80 |
Properties /wp-admin/edit.php?post_type=property | 1,130 | 2.06 | 33.44 | 33.04 |
Location /wp-admin/edit-tags.php?taxonomy=location&post_type=property | 1,343 | 2.29 | 27.34 | 33.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/neptune-real-estate/public/partials/neptune-real-estate-public-display.php
- > /wp-content/plugins/neptune-real-estate/admin/partials/neptune-real-estate-admin-display.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_directory() in wp-content/plugins/neptune-real-estate/includes/libraries/TGM/example.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/neptune-real-estate/templates/single-property.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/neptune-real-estate/templates/home-template.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/neptune-real-estate/includes/config/class-neptune-real-estate-acf-config.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neptune-real-estate/templates/class-neptune-real-estate-page-template.php:154
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/neptune-real-estate/templates/properties-template.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/neptune-real-estate/includes/libraries/TGM/class-tgm-plugin-activation.php:2016
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== neptune-real-estate ===
)
neptune-real-estate/neptune-real-estate.php 92% from 13 tests
The main file in "Neptune Real Estate" v. 1.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 175 characters long)
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
Success! There were no dangerous files found in this plugin6,616 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 836 | 2,666 | 5,038 |
Markdown | 4 | 185 | 0 | 778 |
XML | 1 | 4 | 16 | 425 |
CSS | 3 | 62 | 17 | 369 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 19.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 195.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 12 | 7.55% |
▷ Public methods | 123 | 77.36% |
▷ Protected methods | 23 | 14.47% |
▷ Private methods | 13 | 8.18% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/apartment.png | 0.70KB | 0.60KB | ▼ 14.17% |