Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.41ms] 75% from 4 tests
Server-side resources used by Youzign
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 1,184.44ms on /wp-admin/options-general.php?page=youzign)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 37.78 ▼2.50 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.60 ▼1.96 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.78 ▲6.25 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 83.78 ▼14.83 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.07 ▲1.64 |
Youzign /wp-admin/options-general.php?page=youzign | 3.27 | 1,184.44 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Youzign
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲76 | 13.71 ▼0.97 | 1.78 ▼0.28 | 39.09 ▼4.75 |
Dashboard /wp-admin | 2,225 ▲34 | 5.79 ▲0.85 | 94.64 ▼8.03 | 39.79 ▼0.86 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.19 ▲0.20 | 35.61 ▼1.51 | 33.94 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.22 ▲0.04 | 681.40 ▲61.36 | 49.82 ▲2.43 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.24 ▲0.03 | 100.92 ▲0.47 | 44.10 ▲0.73 |
Youzign /wp-admin/options-general.php?page=youzign | 844 | 2.06 | 25.71 | 26.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=youzign
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=youzign
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: remote, media, youzign, api, media manager...
youzign/youzign.php Passed 13 tests
The main PHP file in "Youzign" ver. 2.2.0 adds more information about the plugin and also serves as the entry point for this plugin
127 characters long description:
Youzign for WordPress is a WordPress plugin that lets you import any of your Youzign designs in your WordPress posts and pages.
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
Good job! No executable or dangerous file extensions detected501 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 97 | 144 | 325 |
JavaScript | 1 | 40 | 17 | 124 |
CSS | 1 | 0 | 0 | 52 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 20 | 86.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 13.04% |
Functions | 1 | |
▷ Named functions | 1 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin