Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼292.74ms] Passed 4 tests
An overview of server-side resources used by PlaceFull Private Label
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 56.55 ▲3.54 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.14 ▼2.34 |
Posts /wp-admin/edit.php | 3.65 ▲0.02 | 36.93 ▼0.86 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 92.07 ▼1,166.02 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 23.18 ▼1.74 |
PlaceFull /wp-admin/options-general.php?page=placefull-settings-admin | 3.25 | 22.26 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
PlaceFull Private Label: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲26 | 15.86 ▼0.08 | 6.19 ▲0.15 | 2.30 ▲0.14 |
Dashboard /wp-admin | 2,893 ▲32 | 6.13 ▼0.19 | 116.51 ▼16.67 | 151.96 ▼12.58 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.00 | 63.82 ▼0.90 | 141.63 ▼1.55 |
Add New Post /wp-admin/post-new.php | 1,671 ▼48 | 18.34 ▼4.30 | 409.43 ▼25.25 | 156.17 ▲6.71 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.54 ▲0.02 | 156.53 ▲18.44 | 188.84 ▲6.28 |
PlaceFull /wp-admin/options-general.php?page=placefull-settings-admin | 1,026 | 2.37 | 56.20 | 122.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=placefull-settings-admin
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=placefull-settings-admin
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/placefull-private-label/placefull-privatelabel.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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 your attention:
- Screenshots: Add images for these screenshots: #1 (This screenshot shows detailed information about the listing to the customer including available timeslots, pricing, photos and a map. All of these things are customizable via the PlaceFull listing editor at https://my.placefull.com), #2 (This screenshot shows a list of all actively published listings from your PlaceFull account including basic information about each listing. To book a listing, the customer can click on a listing and see availabilities and pricing information.)
placefull-private-label/placefull-privatelabel.php 85% from 13 tests
"PlaceFull Private Label" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 376 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("placefull-private-label.php" instead of "placefull-privatelabel.php")
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
No dangerous file extensions were detected121 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 53 | 121 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 1.32MB with 0.99MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 755.57KB | 182.54KB | ▼ 75.84% |
screenshot-1.png | 596.44KB | 157.27KB | ▼ 73.63% |