Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.38MB] [CPU: ▼7.47ms] Passed 4 tests
This is a short check of server-side resources used by Listings for Appfolio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 43.69 ▲8.74 |
Dashboard /wp-admin | 3.73 ▲0.38 | 53.55 ▼5.00 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 46.38 ▲2.28 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 81.47 ▼29.89 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 37.97 ▲2.72 |
Settings /wp-admin/admin.php?page=apfl | 3.55 | 32.94 |
Customizer /wp-admin/admin.php?page=apfl-builder | 3.56 | 33.63 |
Carousel /wp-admin/admin.php?page=apfl-carousel | 3.55 | 32.28 |
Slider /wp-admin/admin.php?page=apfl-slider | 3.55 | 31.64 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Listings for Appfolio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲76 | 14.36 ▼0.35 | 1.83 ▼0.10 | 44.70 ▲2.51 |
Dashboard /wp-admin | 2,248 ▲68 | 5.79 ▲0.13 | 96.71 ▲11.46 | 43.41 ▲0.38 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.27 ▲0.31 | 35.76 ▲2.82 | 35.92 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,574 ▲37 | 23.09 ▲4.94 | 685.75 ▲71.24 | 36.82 ▼37.71 |
Media Library /wp-admin/upload.php | 1,463 ▲69 | 4.27 ▲0.08 | 90.31 ▼6.38 | 44.56 ▲0.50 |
Settings /wp-admin/admin.php?page=apfl | 886 | 1.92 | 27.16 | 30.65 |
Customizer /wp-admin/admin.php?page=apfl-builder | 2,952 | 3.19 | 93.88 | 30.51 |
Carousel /wp-admin/admin.php?page=apfl-carousel | 874 | 1.94 | 27.13 | 24.37 |
Slider /wp-admin/admin.php?page=apfl-slider | 874 | 1.91 | 27.18 | 25.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #5 is required in listings-for-appfolio/assets to your readme.txt
listings-for-appfolio/appfolio-listings.php 77% from 13 tests
Analyzing the main PHP file in "Listings for Appfolio" version 1.1.6
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 143 characters long)
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("listings-for-appfolio.php" instead of "appfolio-listings.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,219 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 508 | 331 | 2,786 |
CSS | 2 | 9 | 15 | 429 |
JavaScript | 1 | 2 | 1 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 13 | |
▷ Named functions | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/phone-call.png | 0.98KB | 1.28KB | 0.00% |
images/check.png | 0.94KB | 0.56KB | ▼ 40.73% |
images/bathtub.png | 0.73KB | 0.74KB | 0.00% |
images/dollar-tag.png | 0.69KB | 0.73KB | 0.00% |
images/map-marker.png | 1.27KB | 1.11KB | ▼ 12.50% |