Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.93MB] [CPU: ▼32.21ms] Passed 4 tests
Server-side resources used by jirnee-Share
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.02 | 31.65 ▼8.68 |
Dashboard /wp-admin | 3.02 ▼0.29 | 28.58 ▼21.15 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 26.71 ▼16.83 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 24.44 ▼78.54 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 20.03 ▼12.32 |
jirnee-Settings /wp-admin/options-general.php?page=idg_admin | 3.02 | 22.18 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_idg_jirnee |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by jirnee-Share
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.43 | 1.58 ▼0.23 | 36.70 ▼5.76 |
Dashboard /wp-admin | 2,210 ▲25 | 4.83 ▼0.19 | 120.17 ▼0.63 | 47.04 ▲3.76 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.01 | 39.27 ▲2.97 | 35.77 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.65 ▼5.56 | 608.26 ▼14.96 | 48.65 ▼10.89 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▲0.01 | 105.73 ▲3.31 | 43.22 ▲0.64 |
jirnee-Settings /wp-admin/options-general.php?page=idg_admin | 875 | 2.06 | 27.14 | 28.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie tables were found after uninstall: 1 table
- wp_idg_jirnee
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=idg_admin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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 errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/jirnee/idg_admin.php:34
- > PHP Warning
Use of undefined constant IDIDGO_PLUGIN_TABLE_PREFIX - assumed 'IDIDGO_PLUGIN_TABLE_PREFIX' (this will throw an Error in a future version of PHP) in wp-content/plugins/jirnee/idg_admin.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/jirnee/jirneeshare.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=idg_admin
- > Network (severe)
https://www.jirnee.com/images/plgScreen.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/options-general.php?page=idg_admin
- > Network (severe)
https://www.jirnee.com/images/plgTags.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/options-general.php?page=idg_admin
- > Network (severe)
https://www.jirnee.com/images/plgFb.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== jirnee ===
)
jirnee/jirneeshare.php 92% from 13 tests
This is the main PHP file of "jirnee-Share" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("jirnee.php" instead of "jirneeshare.php")
Code Analysis Passed 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 detected180 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 49 | 180 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 40.04KB | 17.19KB | ▼ 57.06% |