Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼0.62ms] Passed 4 tests
Server-side resources used by Simple Listings for Genesis
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 43.30 ▲4.92 |
Dashboard /wp-admin | 3.81 ▲0.46 | 47.49 ▼12.60 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 51.50 ▲4.80 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 95.99 ▲0.40 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 37.45 ▲5.44 |
Listing Status /wp-admin/edit-tags.php?taxonomy=status&post_type=listing | 3.66 | 34.62 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.74 | 31.40 |
All Listings /wp-admin/edit.php?post_type=listing | 3.77 | 39.15 |
New Listing /wp-admin/post-new.php?post_type=listing | 3.85 | 48.40 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Listings for Genesis
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲107 | 14.36 ▲0.09 | 1.73 ▲0.12 | 42.36 ▲1.61 |
Dashboard /wp-admin | 2,256 ▲76 | 5.65 ▼0.06 | 87.61 ▲0.48 | 44.50 ▲0.70 |
Posts /wp-admin/edit.php | 2,173 ▲73 | 2.16 ▲0.16 | 43.12 ▲4.65 | 39.51 ▲5.22 |
Add New Post /wp-admin/post-new.php | 1,586 ▲57 | 18.04 ▼5.17 | 603.49 ▼83.79 | 68.03 ▲11.34 |
Media Library /wp-admin/upload.php | 1,469 ▲69 | 4.24 ▲0.05 | 101.24 ▲7.14 | 47.57 ▲5.28 |
Listing Status /wp-admin/edit-tags.php?taxonomy=status&post_type=listing | 1,315 | 2.30 | 26.64 | 34.08 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,005 | 2.06 | 26.66 | 27.95 |
All Listings /wp-admin/edit.php?post_type=listing | 1,158 | 1.98 | 33.79 | 34.49 |
New Listing /wp-admin/post-new.php?post_type=listing | 2,296 | 7.74 | 166.42 | 68.75 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/simple-listings-genesis/includes/class-tgm-plugin-activation.php:1910
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/simple-listings-genesis/views/single-listing.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-listings-genesis/views/archive-listing.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-listings-genesis/includes/featured-listing-widget.php:12
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: realty, realtor, genesis, studiopress, real estate...
simple-listings-genesis/simple-listings-genesis.php 92% from 13 tests
"Simple Listings for Genesis" version 1.6.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 177 characters long)
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
There were no executable files found in this plugin2,520 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 597 | 1,681 | 2,226 |
XML | 1 | 7 | 16 | 173 |
CSS | 1 | 23 | 10 | 121 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 34.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 115 | |
▷ Static methods | 5 | 4.35% |
▷ Public methods | 93 | 80.87% |
▷ Protected methods | 22 | 19.13% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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 |
includes/sample-images/simple-listings.png | 4.55KB | 2.31KB | ▼ 49.29% |