Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.61ms] Passed 4 tests
An overview of server-side resources used by Career-Work With Us
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 47.33 ▲8.34 |
Dashboard /wp-admin | 3.38 ▲0.07 | 56.84 ▲3.95 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 51.26 ▲3.60 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.55 ▼15.18 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.18 ▲5.19 |
Career /wp-admin/edit.php?post_type=sxcareer | 3.34 | 37.53 |
Add New /wp-admin/post-new.php?post_type=sxcareer | 3.42 | 51.28 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: 1 new table, 6 new options
New tables |
---|
sc_sumuixcareer |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Career-Work With Us: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.25 ▼0.37 | 1.76 ▲0.20 | 41.70 ▼0.99 |
Dashboard /wp-admin | 2,219 ▲39 | 5.54 ▼0.10 | 82.96 ▼12.99 | 37.07 ▼4.89 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▼0.07 | 36.50 ▲1.35 | 32.49 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 18.40 ▼4.59 | 660.63 ▼28.48 | 61.87 ▲2.84 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.24 ▲0.00 | 104.47 ▼3.73 | 42.38 ▼3.21 |
Career /wp-admin/edit.php?post_type=sxcareer | 1,100 | 1.93 | 30.85 | 33.97 |
Add New /wp-admin/post-new.php?post_type=sxcareer | 2,175 | 7.56 | 166.36 | 63.65 |
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
- Zombie tables were found after uninstall: 1 table
- sc_sumuixcareer
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/career-work-with-us/templates/template-handler-sx.php
- > /wp-content/plugins/career-work-with-us/sumuix-career.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: career page, job posts, career posts
career-work-with-us/sumuix-career.php 85% from 13 tests
"Career-Work With Us" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("career-work-with-us.php" instead of "sumuix-career.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin431 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 42 | 21 | 361 |
CSS | 1 | 11 | 0 | 70 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/fav.png | 7.15KB | 2.81KB | ▼ 60.69% |