Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.88MB] [CPU: ▲2.41ms] Passed 4 tests
Server-side resources used by Joli FAQ SEO - WordPress FAQ Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.83 | 42.69 ▲4.98 |
Dashboard /wp-admin | 4.21 ▲0.90 | 48.06 ▲1.03 |
Posts /wp-admin/edit.php | 4.26 ▲0.90 | 52.25 ▲9.56 |
Add New Post /wp-admin/post-new.php | 6.94 ▲1.06 | 88.97 ▼5.95 |
Media Library /wp-admin/upload.php | 4.13 ▲0.90 | 46.57 ▲9.65 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.34 | 40.31 |
Server storage [IO: ▲3.56MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 239 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
fs_debug_mode |
db_upgraded |
fs_active_plugins |
joli_faq_seo_rating_time |
widget_recent-posts |
widget_theysaidso_widget |
joli_faq_seo_settings |
joli_faq_seo_gopro_time |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Joli FAQ SEO - WordPress FAQ Plugin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,030 ▲244 | 14.35 ▲0.10 | 1.33 ▼0.43 | 32.87 ▼9.62 |
Dashboard /wp-admin | 2,433 ▲262 | 5.68 ▲0.13 | 86.36 ▼6.03 | 39.11 ▼1.28 |
Posts /wp-admin/edit.php | 2,302 ▲202 | 2.01 ▲0.00 | 40.67 ▲3.77 | 38.93 ▲2.72 |
Add New Post /wp-admin/post-new.php | 6,403 ▲4,875 | 22.77 ▼0.06 | 914.28 ▲255.99 | 39.91 ▼11.19 |
Media Library /wp-admin/upload.php | 1,672 ▲272 | 4.19 ▲0.00 | 107.47 ▲0.47 | 46.07 ▲2.56 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,263 | 2.08 | 28.66 | 30.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/joli-faq-seo/includes/fs/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 10 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- fs_debug_mode
- widget_recent-comments
- theysaidso_admin_options
- fs_active_plugins
- fs_accounts
- joli_faq_seo_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/joli-faq-seo/views/admin/demo-faq.json.php
- > /wp-content/plugins/joli-faq-seo/joli-faq-seo.php
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WPJoli\\JoliFAQ\\JoliApplication' not found in wp-content/plugins/joli-faq-seo/core/Application.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/joli-faq-seo/views/admin/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function jfaq_xy() in wp-content/plugins/joli-faq-seo/fs-helpers.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/joli-faq-seo/config/defaults.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function isset_or_null() in wp-content/plugins/joli-faq-seo/views/admin/faq-editor.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/joli-faq-seo/views/notices/rating.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/joli-faq-seo/views/notices/go-pro.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/joli-faq-seo/views/public/jolifaqseo.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
- Donate link: Invalid URI found ("")
joli-faq-seo/joli-faq-seo.php 92% from 13 tests
The principal PHP file in "Joli FAQ SEO - WordPress FAQ Plugin" v. 1.3.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 97% from 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 plugin37,990 lines of code in 192 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 150 | 8,484 | 18,069 | 37,150 |
SVG | 12 | 8 | 9 | 352 |
JSON | 1 | 0 | 0 | 265 |
JavaScript | 11 | 46 | 109 | 206 |
CSS | 18 | 1 | 0 | 17 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 70.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 2 | 2.94% |
▷ Concrete classes | 66 | 97.06% |
▷ Final classes | 0 | 0.00% |
Methods | 1,401 | |
▷ Static methods | 209 | 14.92% |
▷ Public methods | 987 | 70.45% |
▷ Protected methods | 19 | 1.36% |
▷ Private methods | 395 | 28.19% |
Functions | 136 | |
▷ Named functions | 129 | 94.85% |
▷ Anonymous functions | 7 | 5.15% |
Constants | 166 | |
▷ Global constants | 98 | 59.04% |
▷ Class constants | 68 | 40.96% |
▷ Public constants | 68 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/fs/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/icon-256x256.png | 12.57KB | 5.38KB | ▼ 57.15% |
assets/admin/img/toggle-2.png | 0.94KB | 0.10KB | ▼ 88.89% |
assets/admin/img/toggle-4.png | 1.11KB | 0.26KB | ▼ 77.04% |
includes/fs/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |