Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.67ms] Passed 4 tests
Analyzing server-side resources used by Google faqs schema
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.75 ▼1.41 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.95 ▼5.77 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.96 ▲3.19 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 84.17 ▼10.68 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.59 ▲4.47 |
FAQs Schema Settings /wp-admin/admin.php?page=ffws_settings_page | 3.26 | 37.19 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Google faqs schema: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.35 ▲0.00 | 2.01 ▲0.23 | 43.95 ▲3.88 |
Dashboard /wp-admin | 2,201 ▲24 | 5.63 ▼0.03 | 93.00 ▲7.54 | 40.61 ▼1.48 |
Posts /wp-admin/edit.php | 2,109 ▲12 | 2.00 ▲0.04 | 40.74 ▲2.56 | 36.78 ▲2.77 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 25.31 ▲2.30 | 674.43 ▼16.92 | 66.08 ▲9.72 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.21 ▲0.01 | 104.59 ▼5.01 | 44.12 ▼2.08 |
FAQs Schema Settings /wp-admin/admin.php?page=ffws_settings_page | 893 | 1.81 | 24.23 | 25.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/fusion-faqs-schema/preview/ffws_content_preview.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-faqs-schema/functions.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fusion-faqs-schema/google-faqs-schema.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-faqs-schema/options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: avada, googleschema, avada extension, faqs, avada faqs...
fusion-faqs-schema/google-faqs-schema.php 92% from 13 tests
"Google faqs schema" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("fusion-faqs-schema.php" instead of "google-faqs-schema.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected370 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 37 | 13 | 320 |
JavaScript | 1 | 8 | 4 | 50 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 12 | |
▷ Named functions | 8 | 66.67% |
▷ Anonymous functions | 4 | 33.33% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected