Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure had errors
- > Compile error in wp-content/plugins/quickstart/inc/utilities.php+30
Cannot redeclare is_login() (previously declared in wp-includes/load.php:1281)
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.55ms] Passed 4 tests
An overview of server-side resources used by QuickStart
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.84 ▼4.97 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.16 ▼16.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.52 ▼0.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.49 ▼8.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.27 ▲2.06 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for QuickStart
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.35 ▼0.91 | 1.79 ▲0.01 | 40.75 ▼8.31 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲0.81 | 98.70 ▼16.53 | 38.87 ▼6.18 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.01 | 36.71 ▲1.97 | 29.75 ▼7.08 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.39 ▲0.33 | 601.03 ▼75.97 | 55.50 ▼11.68 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▲0.04 | 98.61 ▼10.31 | 44.90 ▼1.14 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 27× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/quickstart/inc/helpers/hidecomments.php' (include_path='.:/usr/share/php') in wp-content/plugins/quickstart/inc/helpers/hide/all.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickstart/inc/helpers/wpedit.php:40
- > PHP Warning
require(wp-content/plugins/quickstart/inc/helpers/hidecomments.php): failed to open stream: No such file or directory in wp-content/plugins/quickstart/inc/helpers/hide/all.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/quickstart/inc/helpers/walkers/class-walker-inline-nav-menu.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickstart/inc/helpers/media_manager.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickstart/inc/helpers/hide/links.php:14
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/quickstart/inc/helpers/term_meta.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'Smart_Plugin' not found in wp-content/plugins/quickstart/inc/quickstart/class-callbacks.php:14
- > PHP Fatal error
Uncaught Error: Class 'Smart_Plugin' not found in wp-content/plugins/quickstart/inc/quickstart/class-template.php:14
- > PHP Fatal error
Uncaught Error: Class 'Smart_Plugin' not found in wp-content/plugins/quickstart/inc/quickstart/class-setup.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: utility, development, function, coding, framework...
quickstart/quickstart.php Passed 13 tests
"QuickStart" version 1.13.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
110 characters long description:
A utility kit for quick development of WordPress themes (and plugins). YOUR CUSTOM THEME RELIES ON THIS PLUGIN
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected6,429 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 1,299 | 4,601 | 4,711 |
JavaScript | 6 | 272 | 361 | 915 |
Sass | 6 | 64 | 6 | 426 |
CSS | 5 | 19 | 0 | 309 |
Markdown | 1 | 24 | 0 | 63 |
Ruby | 1 | 1 | 0 | 5 |
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.51 |
Average class complexity | 89.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 362.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 181 | |
▷ Static methods | 110 | 60.77% |
▷ Public methods | 98 | 54.14% |
▷ Protected methods | 81 | 44.75% |
▷ Private methods | 2 | 1.10% |
Functions | 150 | |
▷ Named functions | 145 | 96.67% |
▷ Anonymous functions | 5 | 3.33% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin