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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.31MB] [CPU: ▼4.98ms] Passed 4 tests
An overview of server-side resources used by Listings for Buildium
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 59.55 ▲17.02 |
Dashboard /wp-admin | 3.66 ▲0.35 | 50.23 ▼3.84 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 47.81 ▼1.46 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 82.56 ▼17.95 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 37.13 ▲3.35 |
Listings for Buildium /wp-admin/options-general.php?page=bldm | 3.48 | 33.42 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Listings for Buildium: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲179 | 13.68 ▼0.99 | 13.39 ▲11.43 | 61.03 ▲16.20 |
Dashboard /wp-admin | 2,204 ▲13 | 5.83 ▼0.07 | 102.41 ▼14.60 | 40.17 ▼6.25 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.03 ▼0.02 | 34.10 ▼2.21 | 36.94 ▼7.11 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.22 ▲4.87 | 598.97 ▼15.64 | 52.13 ▼6.09 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.07 | 97.80 ▼4.11 | 42.53 ▲1.17 |
Listings for Buildium /wp-admin/options-general.php?page=bldm | 791 | 2.05 | 24.54 | 30.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
8 plugin tags: buildium integration, property listings, buildium property listings, buildium listings, listings for buildium...
listings-for-buildium/buildium-listings.php 77% from 13 tests
The primary PHP file in "Listings for Buildium" version 0.1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("listings-for-buildium.php" instead of "buildium-listings.php")
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 plugin2,627 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 431 | 321 | 2,105 |
CSS | 2 | 4 | 13 | 464 |
JavaScript | 1 | 11 | 5 | 58 |
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.54 |
Average class complexity | 193.50 |
▷ Minimum class complexity | 138.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 5.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.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 | 90 | |
▷ Static methods | 1 | 1.11% |
▷ Public methods | 75 | 83.33% |
▷ Protected methods | 15 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sleep.png | 0.64KB | 0.65KB | 0.00% |
images/bathtub.png | 0.73KB | 0.74KB | 0.00% |
images/check.png | 0.94KB | 0.56KB | ▼ 40.73% |
images/map-marker.png | 1.27KB | 1.11KB | ▼ 12.50% |
images/dollar-tag.png | 0.69KB | 0.73KB | 0.00% |