Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.12ms] Passed 4 tests
Analyzing server-side resources used by RJ Quickcharts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.61 ▼4.92 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.42 ▼2.48 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.15 ▼0.33 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.08 ▲7.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.88 ▲3.26 |
My Charts /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin.php | 3.26 | 31.65 |
New Chart /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin-new.php | 3.31 | 27.02 |
Server storage [IO: ▲2.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 31 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_rj_quickcharts |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
rjqc_db_version |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for RJ Quickcharts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲179 | 13.88 ▼0.51 | 6.54 ▲4.33 | 43.89 ▲1.00 |
Dashboard /wp-admin | 2,236 ▲48 | 5.08 ▲0.21 | 109.25 ▼1.08 | 43.18 ▲1.29 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.03 ▼0.02 | 43.22 ▲4.09 | 34.01 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.77 ▲0.60 | 597.15 ▼58.53 | 55.88 ▼6.13 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.11 ▼0.07 | 101.04 ▲1.38 | 41.39 ▼4.21 |
My Charts /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin.php | 872 | 1.80 | 30.49 | 32.42 |
New Chart /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin-new.php | 3,010 | 5.16 | 241.49 | 108.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_rj_quickcharts
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/rj-quickcharts/admin/rjqc-admin-new.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/rj-quickcharts/rj_charts.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/rj-quickcharts/admin/rjqc-admin-new.php:138
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/rj-quickcharts/rj_charts.php:124
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/rj-quickcharts/settings.php on line 125
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/rj-quickcharts/admin/rjqc-admin.php:2
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin.php
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/rj-quickcharts/ajax/ajax.js?v=530013923&ver=6.3.1:139:27)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin-new.php
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin-new.php
- > Javascript (severe) in unknown
/wp-content/plugins/rj-quickcharts/js/main.js 8:39 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin-new.php
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/rj-quickcharts/ajax/ajax.js?v=1648268011&ver=6.3.1:139:27)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=rj-quickcharts/admin/rjqc-admin-new.php
- > Rendering (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1 The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
rj-quickcharts/rj_charts.php 92% from 13 tests
The main PHP file in "RJ Quickcharts" ver. 0.6.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rj-quickcharts.php" instead of "rj_charts.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
Everything looks great! No dangerous files found in this plugin29,291 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 4,095 | 5,710 | 26,587 |
CSS | 6 | 223 | 147 | 1,396 |
PHP | 9 | 182 | 101 | 1,288 |
Markdown | 1 | 7 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.20 |
Average class complexity | 5.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/nav-chart.png | 1.85KB | 1.30KB | ▼ 29.46% |