Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼3.29ms] Passed 4 tests
Analyzing server-side resources used by HivePress Paid Listings
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.47 ▼0.24 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.24 ▼7.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 42.48 ▼4.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.43 ▲5.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.99 ▼1.31 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HivePress Paid Listings
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.42 ▲0.14 | 1.73 ▼0.17 | 41.19 ▲0.35 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▲0.05 | 85.16 ▼10.80 | 39.54 ▼1.77 |
Posts /wp-admin/edit.php | 2,079 ▼24 | 2.00 ▼0.00 | 35.53 ▼9.35 | 31.69 ▼8.58 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.90 ▼0.08 | 620.56 ▼14.22 | 58.51 ▼19.98 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.21 ▲0.03 | 96.54 ▼1.06 | 43.61 ▲3.25 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: listings, hivepress, classifieds, paid listings, directory
hivepress-paid-listings/hivepress-paid-listings.php Passed 13 tests
The principal PHP file in "HivePress Paid Listings" v. 1.1.7 is loaded by WordPress automatically on each request
57 characters long description:
Charge users for adding, featuring and renewing listings.
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
Good job! No executable or dangerous file extensions detected2,025 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 497 | 916 | 1,969 |
LESS | 1 | 9 | 3 | 50 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 12.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 1 | 5.88% |
▷ Concrete classes | 16 | 94.12% |
▷ Final classes | 2 | 12.50% |
Methods | 79 | |
▷ Static methods | 20 | 25.32% |
▷ Public methods | 76 | 96.20% |
▷ Protected methods | 1 | 1.27% |
▷ Private methods | 2 | 2.53% |
Functions | 9 | |
▷ Named functions | 1 | 11.11% |
▷ Anonymous functions | 8 | 88.89% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin