Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method bpl_wpjm_link::bpl_wpjm_activate() should not be called statically
Server metrics [RAM: ▼0.02MB] [CPU: ▼293.70ms] Passed 4 tests
Analyzing server-side resources used by BePro Listings WPJM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 55.72 ▲4.60 |
Dashboard /wp-admin | 3.42 ▲0.00 | 37.64 ▲0.42 |
Posts /wp-admin/edit.php | 3.65 ▲0.00 | 44.42 ▲2.49 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.09 | 94.78 ▼1,182.32 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 32.45 ▲4.94 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_bepro_listings_wpjm |
New WordPress options |
---|
bepro_listings_wpjm |
Browser metrics Passed 4 tests
A check of browser resources used by BePro Listings WPJM
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲53 | 15.22 ▼0.44 | 6.00 ▲0.08 | 2.97 ▲0.68 |
Dashboard /wp-admin | 2,895 ▲44 | 6.06 ▼0.08 | 115.74 ▼18.62 | 152.79 ▼47.27 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.24 ▼0.00 | 69.65 ▲8.07 | 142.72 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,655 ▼97 | 21.31 ▲0.33 | 414.77 ▼65.46 | 172.98 ▲21.28 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.51 ▲0.02 | 145.93 ▼19.95 | 186.10 ▼4.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_bepro_listings_wpjm
- This plugin did not uninstall successfully, leaving 1 option in the database
- bepro_listings_wpjm
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bepro-listings-wpjm/tabs/tab-jobs.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bepro-listings-wpjm/tabs/jobs.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bepro-listings-wpjm/admin_tabs/jobs.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bepro-listings-wpjm/admin_tabs/tab-jobs.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in bepro-listings-wpjm/assets to your readme.txt
bepro-listings-wpjm/bepro_listings_wpjm.php 92% from 13 tests
The main PHP file in "BePro Listings WPJM" ver. 1.0.01 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bepro-listings-wpjm.php" instead of "bepro_listings_wpjm.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
Success! There were no dangerous files found in this plugin255 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 92 | 92 | 255 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin