Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼14.48ms] Passed 4 tests
An overview of server-side resources used by Trivia Adapter Pack
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 33.77 ▼6.13 |
Dashboard /wp-admin | 3.36 ▲0.02 | 44.32 ▼21.18 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.25 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 76.89 ▼30.47 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 35.13 ▼0.15 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Trivia Adapter Pack
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼0.95 | 3.88 ▲2.31 | 38.06 ▼0.54 |
Dashboard /wp-admin | 2,206 ▲15 | 4.87 ▼0.25 | 109.25 ▲6.86 | 41.75 ▲2.68 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.02 | 42.09 ▲7.56 | 34.59 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,514 ▼22 | 17.64 ▼5.36 | 672.87 ▲73.63 | 59.05 ▲8.02 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.03 | 93.29 ▼5.42 | 40.26 ▼0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% 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 50% 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 take a closer look at the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Convo\\Core\\Factory\\AbstractPackageDefinition' not found in wp-content/plugins/trivia-adapter-pack/src/ConvoTriviaPack/Pckg/TriviaAdapterPack/TriviaAdapterPackageDefinition.php:11
- > PHP Fatal error
Uncaught Error: Class 'ConvoTriviaPack\\Pckg\\TriviaAdapterPack\\AbstractQuestionsAdapterElement' not found in wp-content/plugins/trivia-adapter-pack/src/ConvoTriviaPack/Pckg/TriviaAdapterPack/QuizCatAdapterElement.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trivia-adapter-pack/trivia-adapter-pack.php:28
- > PHP Fatal error
Uncaught Error: Class 'ConvoTriviaPack\\Pckg\\TriviaAdapterPack\\AbstractQuestionsAdapterElement' not found in wp-content/plugins/trivia-adapter-pack/src/ConvoTriviaPack/Pckg/TriviaAdapterPack/LifterLMSAdapterElement.php:6
- > PHP Fatal error
Uncaught Error: Class 'Convo\\Core\\Workflow\\AbstractWorkflowContainerComponent' not found in wp-content/plugins/trivia-adapter-pack/src/ConvoTriviaPack/Pckg/TriviaAdapterPack/AbstractQuestionsAdapterElement.php:8
- > PHP Fatal error
Uncaught Error: Class 'ConvoTriviaPack\\Pckg\\TriviaAdapterPack\\AbstractQuestionsAdapterElement' not found in wp-content/plugins/trivia-adapter-pack/src/ConvoTriviaPack/Pckg/TriviaAdapterPack/QuizMakerAdapterElement.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Contributors: Contributors not specified
trivia-adapter-pack/trivia-adapter-pack.php Passed 13 tests
"Trivia Adapter Pack" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
133 characters long description:
This plugin adds a package for Convoworks and allows us to make a voice trivia quiz game for a QuizCat, Quiz Maker or LifterLMS quiz.
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
No dangerous file extensions were detected894 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 207 | 391 | 776 |
HTML | 3 | 3 | 0 | 87 |
JSON | 3 | 0 | 0 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 12.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 18 | 35.29% |
▷ Public methods | 44 | 86.27% |
▷ Protected methods | 5 | 9.80% |
▷ Private methods | 2 | 3.92% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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
There were not PNG files found in your plugin