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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼146.63ms] Passed 4 tests
An overview of server-side resources used by Real Estate Slideshow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 37.46 ▲18.16 |
Dashboard /wp-admin | 3.08 ▲0.02 | 45.85 ▲1.80 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 37.55 ▼5.02 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 94.11 ▼571.81 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 34.69 ▼11.49 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_gyc_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Real Estate Slideshow
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.18 ▲0.72 | 9.30 ▼1.88 | 49.96 ▲1.57 |
Dashboard /wp-admin | 2,986 ▲55 | 5.98 ▲0.07 | 157.13 ▼6.21 | 107.83 ▼4.03 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.02 | 67.16 ▼8.14 | 90.97 ▲4.09 |
Add New Post /wp-admin/post-new.php | 1,683 ▲68 | 18.52 ▼2.93 | 389.99 ▲94.16 | 108.42 ▲0.50 |
Media Library /wp-admin/upload.php | 1,748 ▼59 | 5.00 ▼0.01 | 153.81 ▼19.50 | 113.08 ▼7.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 1 option in the database
- widget_gyc_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/real-estate-slideshow/gyc_real_estate_slideshow.php:91
- > PHP Fatal error
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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Slideshow with logotype), #2 (Slideshow without logotype)
- Tags: There are too many tags (23 tag instead of maximum 10)
real-estate-slideshow/gyc_real_estate_slideshow.php 92% from 13 tests
The entry point to "Real Estate Slideshow" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("real-estate-slideshow.php" instead of "gyc_real_estate_slideshow.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
There were no executable files found in this plugin67 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 12 | 67 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 72.12KB | 25.95KB | ▼ 64.01% |
screenshot-2.png | 68.10KB | 24.70KB | ▼ 63.74% |