Benchmarks
Plugin footprint 83% from 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 gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.12ms] Passed 4 tests
A check of server-side resources used by jQuery Post Splitter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 43.58 ▲2.35 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.47 ▼5.25 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.32 ▼2.72 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.10 ▼5.97 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.09 ▼2.53 |
Post Splitter /wp-admin/edit.php?page=jpsoptions | 3.63 | 37.02 |
jQuery Post Splitter /wp-admin/options-general.php?page=jpsoptions | 3.63 | 59.63 |
Page Splitter /wp-admin/edit.php?post_type=page&page=jpsoptions | 3.63 | 43.65 |
Server storage [IO: ▲5.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for jQuery Post Splitter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.18 ▼1.41 | 2.17 ▲0.31 | 40.53 ▼3.28 |
Dashboard /wp-admin | 2,215 ▲36 | 5.82 ▲0.94 | 98.22 ▼17.68 | 39.94 ▼4.31 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.00 ▼0.05 | 37.24 ▲2.94 | 30.75 ▼5.44 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 17.73 ▼5.49 | 663.30 ▲52.36 | 51.02 ▲1.19 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.19 ▼0.03 | 93.58 ▼9.33 | 40.14 ▼3.64 |
Post Splitter /wp-admin/edit.php?page=jpsoptions | 4,334 | 33.70 | 1,054.12 | 88.91 |
jQuery Post Splitter /wp-admin/options-general.php?page=jpsoptions | 4,339 | 32.47 | 891.29 | 81.21 |
Page Splitter /wp-admin/edit.php?post_type=page&page=jpsoptions | 4,332 | 30.76 | 930.53 | 90.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 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/jquery-post-splitter/inc/functions-essentials.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function jps_get() in wp-content/plugins/jquery-post-splitter/inc/jps-style-data.php:260
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jquery-post-splitter/inc/jps-functions-inner.php:170
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?page=jpsoptions
- > Rendering (warning) in unknown
/wp-admin/edit.php?page=jpsoptions 862 The specified value "transparent" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?page=jpsoptions
- > Rendering (warning) in unknown
/wp-admin/edit.php?page=jpsoptions 870 The specified value "transparent" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=jpsoptions
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=jpsoptions 862 The specified value "transparent" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=jpsoptions
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=jpsoptions 870 The specified value "transparent" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=page&page=jpsoptions
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=page&page=jpsoptions 862 The specified value "transparent" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=page&page=jpsoptions
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=page&page=jpsoptions 870 The specified value "transparent" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: splitter, post splitter, next page, auto loading, paged posts...
jquery-post-splitter/index.php 77% from 13 tests
Analyzing the main PHP file in "jQuery Post Splitter" version 2.9.8
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("jquery-post-splitter.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected13,579 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,546 |
PHP | 9 | 1,835 | 103 | 1,844 |
PO File | 4 | 647 | 678 | 1,440 |
CSS | 6 | 123 | 18 | 523 |
JavaScript | 4 | 231 | 13 | 226 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 48 | |
▷ Named functions | 48 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 0.25MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/spotlight.png | 10.93KB | 6.68KB | ▼ 38.89% |
images/kbd_banner.png | 125.13KB | 42.35KB | ▼ 66.15% |
images/chinese_lantern.png | 12.30KB | 8.30KB | ▼ 32.49% |
images/elegent.png | 13.80KB | 9.86KB | ▼ 28.55% |
images/milano.png | 13.24KB | 8.76KB | ▼ 33.84% |