Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/PEAR.php+102
Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructor
Server metrics [RAM: ▼1.75MB] [CPU: ▼52.29ms] Passed 4 tests
Analyzing server-side resources used by Jingle Contextual
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.23 | 5.42 ▼34.41 |
Dashboard /wp-admin | 2.25 ▼1.05 | 6.37 ▼47.10 |
Posts /wp-admin/edit.php | 2.26 ▼1.10 | 5.54 ▼40.25 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.63 | 6.12 ▼87.40 |
Media Library /wp-admin/upload.php | 2.25 ▼0.97 | 7.01 ▼25.61 |
Jingle Contextual /wp-admin/options-general.php?page=jingle-contextual | 2.26 | 5.40 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_jingle_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Jingle Contextual
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 13.74 ▼0.61 | 1.92 ▲0.41 | 40.12 ▲2.73 |
Dashboard /wp-admin | 2,228 ▲40 | 5.95 ▲0.06 | 104.98 ▲1.45 | 40.54 ▲1.33 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.26 ▲0.28 | 34.84 ▼1.28 | 31.05 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 23.37 ▲0.20 | 634.53 ▼81.10 | 34.14 ▼30.37 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.36 ▲0.16 | 100.37 ▼0.46 | 43.16 ▼0.68 |
Jingle Contextual /wp-admin/options-general.php?page=jingle-contextual | 915 | 2.37 | 41.34 | 26.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/PEAR.php+102
Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_jingle_widget
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=jingle-contextual
- > Deprecated in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/PEAR.php+102
Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=jingle-contextual
- > Deprecated in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/PEAR.php+826
Methods with the same name as their class will not be constructors in a future version of PHP; PEAR_Error has a deprecated constructor
SRP 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/jingle-contextual/jinglecontextual.php
- 59× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'HTTP/OAuth/Message.php' (include_path='.:/usr/share/php') in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Provider/Request.php on line 22
- > PHP Warning
require_once(HTTP/OAuth/Message.php): failed to open stream: No such file or directory in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Consumer/Response.php on line 24
- > PHP Warning
require_once(HTTP/OAuth.php): failed to open stream: No such file or directory in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Signature/Common.php on line 24
- > PHP Warning
require_once(HTTP/Request2.php): failed to open stream: No such file or directory in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Consumer/Request.php on line 24
- > PHP Fatal error
require_once(): Failed opening required 'HTTP/OAuth/Signature/Common.php' (include_path='.:/usr/share/php') in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Signature/PLAINTEXT.php on line 24
- > PHP Fatal error
require_once(): Failed opening required 'HTTP/OAuth/Message.php' (include_path='.:/usr/share/php') in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Provider/Response.php on line 22
- > PHP Warning
require_once(HTTP/OAuth/Store/Data.php): failed to open stream: No such file or directory in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Store/Consumer/CacheLite.php on line 16
- > PHP Fatal error
require_once(): Failed opening required 'HTTP/OAuth/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Provider/Exception.php on line 24
- > PHP Warning
require_once(HTTP/OAuth/Provider/Exception.php): failed to open stream: No such file or directory in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/OAuth/Provider/Exception/InvalidRequest.php on line 22
- > PHP Warning
require_once(HTTP/Request2/Exception.php): failed to open stream: No such file or directory in wp-content/plugins/jingle-contextual/2Performant-php/PEAR/HTTP/Request2/SocketWrapper.php on line 45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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:
- Screenshots: These screenshots require images: #1 (Panoul de administrare Jingle Contextual), #2 (Exemplu de afisare contextuala - widget vertical)
jingle-contextual/jinglecontextual.php 85% from 13 tests
The entry point to "Jingle Contextual" version 1.9 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 269 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("jingle-contextual.php" instead of "jinglecontextual.php")
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
Everything looks great! No dangerous files found in this plugin6,024 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 1,136 | 5,235 | 6,024 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 5 | 11.11% |
▷ Concrete classes | 40 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 423 | |
▷ Static methods | 24 | 5.67% |
▷ Public methods | 370 | 87.47% |
▷ Protected methods | 50 | 11.82% |
▷ Private methods | 3 | 0.71% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 62 | |
▷ Global constants | 15 | 24.19% |
▷ Class constants | 47 | 75.81% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.32MB with 0.19MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 23.45KB | 11.18KB | ▼ 52.31% |
screenshot-2.png | 307.08KB | 108.10KB | ▼ 64.80% |