Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.34ms] Passed 4 tests
Analyzing server-side resources used by PLVR WP FAQ
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 41.93 ▼0.12 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.82 ▼0.35 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 53.46 ▼1.75 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.49 ▼16.36 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.54 ▼2.90 |
All FAQs /wp-admin/edit.php?post_type=plvr_faq | 3.34 | 38.38 |
Add New /wp-admin/post-new.php?post_type=plvr_faq | 3.41 | 47.01 |
Category /wp-admin/edit-tags.php?taxonomy=faq_cat&post_type=plvr_faq | 3.29 | 36.79 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for PLVR WP FAQ
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 13.56 ▼0.82 | 6.17 ▲4.41 | 42.49 ▼1.26 |
Dashboard /wp-admin | 2,249 ▲49 | 5.84 ▼0.02 | 97.92 ▼5.15 | 37.45 ▼3.88 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.01 ▼0.04 | 35.34 ▼6.27 | 35.01 ▼7.62 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 17.52 ▼0.11 | 641.75 ▼25.86 | 52.79 ▲1.43 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.23 ▼0.00 | 96.81 ▼13.16 | 42.84 ▼4.91 |
All FAQs /wp-admin/edit.php?post_type=plvr_faq | 1,100 | 1.93 | 33.59 | 28.71 |
Add New /wp-admin/post-new.php?post_type=plvr_faq | 2,267 | 7.59 | 168.82 | 60.76 |
Category /wp-admin/edit-tags.php?taxonomy=faq_cat&post_type=plvr_faq | 1,285 | 2.15 | 30.56 | 28.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/plvr-wp-faq/inc/plvr-wp-faq-cpt.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/plvr-wp-faq/plvr-wp-faq.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title() in wp-content/plugins/plvr-wp-faq/templates/content-loop.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
plvr-wp-faq/plvr-wp-faq.php 92% from 13 tests
This is the main PHP file of "PLVR WP FAQ" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 151 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin2,851 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 3 | 49 | 19 | 178 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin