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.00MB] [CPU: ▼4.95ms] Passed 4 tests
A check of server-side resources used by HivePress Claim Listings
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.24 ▼1.58 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.34 ▲1.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.34 ▼1.81 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.96 ▼18.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.70 ▲2.06 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by HivePress Claim Listings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.18 ▼1.12 | 2.21 ▲0.35 | 45.42 ▲1.74 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▼0.15 | 97.83 ▼16.69 | 38.94 ▼0.93 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.04 | 41.44 ▼2.07 | 35.77 ▼1.23 |
Add New Post /wp-admin/post-new.php | 1,533 ▼2 | 23.33 ▲0.09 | 692.97 ▲58.23 | 50.15 ▼8.75 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.19 ▼0.01 | 100.84 ▲1.50 | 43.02 ▲0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: listings, directory, hivepress, claim listings, classifieds
hivepress-claim-listings/hivepress-claim-listings.php Passed 13 tests
This is the main PHP file of "HivePress Claim Listings" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
35 characters long description:
Charge users for claiming listings.
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
Good job! No executable or dangerous file extensions detected788 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 224 | 361 | 788 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 1 | 10.00% |
▷ Concrete classes | 9 | 90.00% |
▷ Final classes | 2 | 22.22% |
Methods | 28 | |
▷ Static methods | 3 | 10.71% |
▷ Public methods | 27 | 96.43% |
▷ Protected methods | 1 | 3.57% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin