10% quickstart

Code Review | QuickStart

WordPress plugin QuickStart scored10%from 54 tests.

About plugin

  • Plugin page: quickstart
  • Plugin version: 1.13.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.5.3
  • WordPress version: 6.3.1
  • First release: Nov 17, 2013
  • Latest release: Jun 29, 2016
  • Number of updates: 70
  • Update frequency: every 13.9 days
  • Top authors: dougwollison (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,513 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.84 ▼4.97
Dashboard /wp-admin3.31 ▼0.0444.16 ▼16.80
Posts /wp-admin/edit.php3.36 ▲0.0045.52 ▼0.02
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.49 ▼8.42
Media Library /wp-admin/upload.php3.23 ▲0.0034.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.35 ▼0.911.79 ▲0.0140.75 ▼8.31
Dashboard /wp-admin2,209 ▲215.91 ▲0.8198.70 ▼16.5338.87 ▼6.18
Posts /wp-admin/edit.php2,089 ▼02.04 ▼0.0136.71 ▲1.9729.75 ▼7.08
Add New Post /wp-admin/post-new.php1,533 ▲1423.39 ▲0.33601.03 ▼75.9755.50 ▼11.68
Media Library /wp-admin/upload.php1,382 ▼64.22 ▲0.0498.61 ▼10.3144.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP361,2994,6014,711
JavaScript6272361915
Sass6646426
CSS5190309
Markdown124063
Ruby1105

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 code0.51
Average class complexity89.44
▷ Minimum class complexity1.00
▷ Maximum class complexity362.00
Average method complexity5.20
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes9
▷ Abstract classes111.11%
▷ Concrete classes888.89%
▷ Final classes00.00%
Methods181
▷ Static methods11060.77%
▷ Public methods9854.14%
▷ Protected methods8144.75%
▷ Private methods21.10%
Functions150
▷ Named functions14596.67%
▷ Anonymous functions53.33%
Constants12
▷ Global constants12100.00%
▷ Class constants00.00%
▷ Public constants00.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