Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.02ms] Passed 4 tests
Server-side resources used by NiceJob
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 36.71 ▲33.20 | 6,808,532.24 ▲6,808,488.02 |
Dashboard /wp-admin | 3.43 ▲0.04 | 53.39 ▼19.46 |
Posts /wp-admin/edit.php | 3.55 ▲0.15 | 56.91 ▲0.54 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.09 | 91.04 ▼17.54 |
Media Library /wp-admin/upload.php | 3.36 ▲0.08 | 40.03 ▲0.38 |
Server storage [IO: ▲1.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NiceJob
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.38 ▲0.03 | 1.71 ▼0.31 | 38.67 ▼9.03 |
Dashboard /wp-admin | 2,216 ▲39 | 5.60 ▼0.02 | 85.91 ▼9.62 | 39.40 ▼3.51 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.95 ▼0.02 | 37.59 ▲3.48 | 34.08 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.12 ▼0.00 | 619.88 ▼73.10 | 53.99 ▼0.85 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.19 ▼0.01 | 97.91 ▼13.02 | 45.44 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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)
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/nicejob/nicejob.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
nicejob/nicejob.php Passed 13 tests
The main PHP file in "NiceJob" ver. 3.6.0 adds more information about the plugin and also serves as the entry point for this plugin
111 characters long description:
Easily add NiceJob Stories, Reviews, Trust Badge, Engage, and Collect Leads and Reviews to your Wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin586 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 73 | 484 |
JavaScript | 6 | 6 | 0 | 102 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 1.85MB with 1.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
nicejob-logo.png | 35.83KB | 9.99KB | ▼ 72.11% |
nicejob-button-40.png | 3.18KB | 1.54KB | ▼ 51.48% |
assets/screenshot-1.png | 447.26KB | 143.77KB | ▼ 67.86% |
assets/screenshot-4.png | 115.10KB | 43.53KB | ▼ 62.18% |
assets/screenshot-3.png | 848.92KB | 255.11KB | ▼ 69.95% |