Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼295.09ms] Passed 4 tests
An overview of server-side resources used by Justuno
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.21 | 56.44 ▲5.60 |
Dashboard /wp-admin | 3.44 ▲0.04 | 32.89 ▼2.59 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 36.77 ▼1.11 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 94.33 ▼1,180.15 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 25.79 ▲3.49 |
Justuno /wp-admin/options-general.php?page=justuno-settings-conf | 3.27 | 22.13 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 2 new options
New WordPress options |
---|
justuno_woocommerce_token |
justuno_api_key |
Browser metrics Passed 4 tests
An overview of browser requirements for Justuno
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲80 | 15.93 ▲0.23 | 6.18 ▲0.54 | 2.65 ▲0.33 |
Dashboard /wp-admin | 2,899 ▲41 | 6.19 ▲0.04 | 117.87 ▼24.82 | 155.81 ▼3.54 |
Posts /wp-admin/edit.php | 2,679 ▼12 | 3.23 ▲0.01 | 63.75 ▼2.74 | 135.42 ▼21.67 |
Add New Post /wp-admin/post-new.php | 1,677 ▲16 | 21.15 ▲4.57 | 412.97 ▲3.82 | 160.40 ▲6.29 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.53 ▲0.02 | 154.34 ▲13.43 | 195.15 ▲6.84 |
Justuno /wp-admin/options-general.php?page=justuno-settings-conf | 1,026 | 2.61 | 52.33 | 126.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=justuno-settings-conf
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=justuno-settings-conf
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/justuno/includes/Frontend.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/justuno/includes/AdminPage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/justuno/includes/AdminPage.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (200 tag instead of maximum 10)
justuno/justuno.php Passed 13 tests
The main PHP file in "Justuno" ver. 2.6 adds more information about the plugin and also serves as the entry point for this plugin
53 characters long description:
Grow your social audience, email subscribers & sales!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin914 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 88 | 23 | 883 |
JavaScript | 2 | 2 | 0 | 31 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 38.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 6.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 22.22% |
Functions | 15 | |
▷ Named functions | 13 | 86.67% |
▷ Anonymous functions | 2 | 13.33% |
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
There were not PNG files found in your plugin