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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.56MB] [CPU: ▼0.80ms] Passed 4 tests
A check of server-side resources used by BigIdeas
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.57 | 41.92 ▲4.16 |
Dashboard /wp-admin | 3.89 ▲0.54 | 56.15 ▼2.58 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 51.87 ▲5.34 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.59 | 91.80 ▼10.13 |
Media Library /wp-admin/upload.php | 3.81 ▲0.57 | 40.24 ▲6.55 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.81 | 39.63 |
Ideas /wp-admin/options-general.php?page=ideas | 3.69 | 37.67 |
Server storage [IO: ▲1.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 124 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
category_children |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BigIdeas
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲168 | 13.36 ▼1.29 | 7.84 ▲5.90 | 43.71 ▲3.37 |
Dashboard /wp-admin | 2,245 ▲68 | 5.55 ▼0.04 | 85.80 ▼0.62 | 42.59 ▲3.81 |
Posts /wp-admin/edit.php | 2,177 ▲77 | 2.15 ▲0.15 | 35.64 ▲1.25 | 37.49 ▲1.37 |
Add New Post /wp-admin/post-new.php | 1,571 ▲42 | 23.23 ▼0.48 | 689.00 ▲57.38 | 54.84 ▲2.83 |
Media Library /wp-admin/upload.php | 1,455 ▲52 | 4.33 ▲0.20 | 96.34 ▼6.25 | 48.34 ▲3.08 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,081 | 2.02 | 29.30 | 33.13 |
Ideas /wp-admin/options-general.php?page=ideas | 896 | 2.06 | 25.08 | 31.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- category_children
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ideas
- > Notice in wp-content/plugins/bigideas/ideas.php+691
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ideas
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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 take a closer look at the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/bigideas/trunk/public/partials/ideas-public-display.php
- > /wp-content/plugins/bigideas/trunk/admin/partials/ideas-admin-display.php
- > /wp-content/plugins/bigideas/admin/partials/ideas-admin-display.php
- > /wp-content/plugins/bigideas/public/partials/ideas-public-display.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/bigideas/trunk/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/bigideas/trunk/templates/template-ideas-virtual-page.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/bigideas/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/bigideas/templates/template-ideas-virtual-page.php:14
- > 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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
bigideas/ideas.php 85% from 13 tests
This is the main PHP file of "BigIdeas" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 151 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("bigideas.php" instead of "ideas.php")
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
Good job! No executable or dangerous file extensions detected7,317 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 1,449 | 1,993 | 4,842 |
PHP | 14 | 763 | 2,339 | 2,429 |
JavaScript | 3 | 5 | 54 | 34 |
CSS | 3 | 5 | 9 | 12 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 23.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 258 | |
▷ Static methods | 14 | 5.43% |
▷ Public methods | 202 | 78.29% |
▷ Protected methods | 46 | 17.83% |
▷ Private methods | 10 | 3.88% |
Functions | 60 | |
▷ Named functions | 60 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.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 images were found in this plugin