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.01MB] [CPU: ▼10.65ms] Passed 4 tests
An overview of server-side resources used by WordPress-WPJobBoard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.92 ▼6.48 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.30 ▼17.54 |
Posts /wp-admin/edit.php | 3.37 ▲0.00 | 42.74 ▼8.28 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.00 | 81.37 ▼10.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.84 ▲0.60 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress-WPJobBoard
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.24 ▼0.11 | 1.75 ▼0.20 | 42.61 ▼0.09 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▼0.04 | 97.23 ▼0.24 | 42.94 ▲0.09 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.96 ▼0.07 | 34.47 ▼2.37 | 36.36 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.26 ▲0.28 | 642.20 ▼10.99 | 50.90 ▼6.57 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.18 ▼0.01 | 94.73 ▼2.84 | 41.06 ▲1.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Daq_Form_Abstract' not found in wp-content/plugins/click-pledge-wpjobboard/clickandpledge_front_controll.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/click-pledge-wpjobboard/clickandpledge_payment.php:22
- > PHP Fatal error
Uncaught Error: Class 'Wpjb_Form_Abstract_Payment' not found in wp-content/plugins/click-pledge-wpjobboard/clickandpledge_admin_controll.php:3
- > PHP Fatal error
Uncaught Error: Class 'Wpjb_Form_Abstract_Payment' not found in wp-content/plugins/click-pledge-wpjobboard/clickandpledge_admin_controll.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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
Please fix the following attributes:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
click-pledge-wpjobboard/clickandpledge_payment.php 85% from 13 tests
The main PHP script in "WordPress-WPJobBoard" version 4.23100100-WP6.3.2-J... is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("click-pledge-wpjobboard.php" instead of "clickandpledge_payment.php")
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "4.23100100-WP6.3.2-J...")
Code Analysis 97% from 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 detected4,174 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 463 | 101 | 2,353 |
JavaScript | 4 | 219 | 118 | 1,821 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 129)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 100.67 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 138.00 |
Average method complexity | 7.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 129.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 19 | 42.22% |
▷ Public methods | 45 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cp-logo.png | 7.21KB | 3.68KB | ▼ 49.01% |
images/eCheck.png | 6.58KB | 2.33KB | ▼ 64.49% |