Opinion
BORDEN, J.
The state appeals, following our grant of certification, from the judgment of the Appellate Court reversing the defendant’s conviction, rendered following a guilty plea, of sexual assault in the second degree and risk of injury to a child. The state claims that the Appellate Court improperly concluded that the defendant’s guilty plea resulted from ineffective assistance of counsel. We reverse the judgment of the Appellate Court.
The defendant, Garrick Turner, was charged with sexual assault in the second degree in violation of General Statutes § 53a-71 (a) (1), and risk of injury to a child in violation of General Statutes (Rev. to 1997) § 53-21 (l).1 Prior to trial, the defendant filed a motion
[417]*417to suppress a statement that he had made to the police, claiming that he had not been informed of his Miranda2 rights. Following an evidentiary hearing, the trial court, Turner, J., denied the defendant’s motion, and the defendant subsequently pleaded guilty to all charges. Thereafter, the defendant filed a motion to withdraw and vacate his guilty plea, claiming that he had received ineffective assistance of counsel. The trial court, B. Kaplan, J., denied the defendant’s motion to withdraw his plea and rendered ajudgment of conviction in accordance with the guilty plea.
On appeal to the Appellate Court, the defendant claimed that he had been denied due process of law due to ineffective assistance of counsel because his attorney had not informed him of the possibility of entering a conditional plea of nolo contendere pursuant to General Statutes (Rev. to 1999) § 54-94a3 and Practice Book § 61-6,4 thereby preserving the right to appeal [418]*418from the denial of his motion to suppress. The Appellate Court reversed the judgment of the trial court, concluding that, due to ineffective assistance of counsel, the defendant’s guilty plea had not been entered knowingly and voluntarily because he had not understood “that a guilty plea, unlike a nolo plea, would waive his right to appeal” from the denial of his motion to suppress. State v. Turner, 67 Conn. App. 708, 715, 789 A.2d 1058 (2002). Accordingly, the Appellate Court held that the “[trial] court abused its discretion in denying the defendant’s motion to vacate his guilty plea.” Id., 715-16. This certified appeal followed.5
The underlying facts and procedural history were set forth in the opinion of the Appellate Court. “On March 8, 1998, the defendant went to the Bridgeport police station. His father had received a telephone call the day before from Mark McDaniel, a sergeant, requesting to speak to the defendant. The defendant was eighteen years old, had no prior criminal history and had been living in the United States for only two years. The defendant resided with his father, who, along with the defendant’s aunt, accompanied him to the police station.
“At the station, McDaniel questioned the defendant alone. The interrogation lasted about thirty to forty [419]*419minutes, three to four minutes of which were recorded.6 [420]*420McDaniel asked the defendant if he had engaged in sexual intercourse with the victim and [if so] when that had occurred. The defendant responded that he had engaged in sexual intercourse with the victim two times in March, 1998, when the victim was fifteen years old.7 The defendant was subsequently charged with sexual assault in the second degree and risk of injury to a child.
“Before entering his guilty plea, the defendant filed a motion to suppress his statement to the police, and an evidentiary hearing followed. The defendant’s counsel called the defendant as his only witness. The defendant claimed that his statement to the police was inadmissible because he had been interrogated at the police station, under circumstances from which it could be inferred that he was in custody, without having been notified of his rights under Miranda v. Arizona, 384 U.S. 436, 86 S. Ct. 1602, 16 L. Ed. 2d 694 (1966).
[421]*421“At the hearing, McDaniel admitted that he did not read the defendant Miranda warnings because the defendant was neither under arrest nor in custody. He testified that he told the defendant several times during the interrogation that he was free to leave and that he was not under arrest.8 McDaniel further testified that he did not threaten the defendant or pressure him into making his statement. The [trial] court concluded that the defendant failed to sustain his burden of proving that he was in custody at the time of the interview and therefore denied the motion to suppress. Thereafter, the defendant pleaded guilty to the charges of sexual assault in the second degree and risk of injury to a child.9
“On June 14, 2000, prior to sentencing, the defendant filed a motion to vacate and to withdraw his guilty plea on the ground that his trial counsel was ineffective in failing to inform him that by pleading guilty, he was waiving his right to appeal from the court’s denial of his motion to suppress. See Practice Book § 39-27 (4). The defendant requested the withdrawal of his plea so that he could enter a new plea of nolo contendere in accordance with General Statutes [Rev. to 1999] § 54-94a and thereby preserve his right to appeal from the denial of his motion to suppress. The [trial] court denied the motion to withdraw on the ground that the defen-
[422]*422dant had not demonstrated ineffective assistance of counsel.10 The court sentenced the defendant to a total term of incarceration of ten years, execution suspended after nine months, and ten years conditional probation in accordance with the state’s recommended sentence offered pursuant to its [guilty] plea agreement with the defendant. The defendant’s appeal [to the Appellate Court] followed.” State v. Turner, supra, 67 Conn. App. 709-11.
On appeal to the Appellate Court, the defendant claimed that his guilty plea had been the result of ineffective assistance of counsel because he had not been informed of his “statutory right” to plead nolo contendere, thereby preserving his right to appeal from the trial court’s denial of his motion to suppress. Id., 711. [423]*423In response, the state claimed that his counsel’s failure to inform the defendant of his right to appeal did not amount to ineffective assistance counsel because any appeal from the trial court’s motion to suppress would have been frivolous. Id., 714. The Appellate Court concluded that it was “possible that [the defendant] might have prevailed on his claim that his Miranda rights were violated because he believed he was in custody due to his inexperience with the criminal system.” Id. Accordingly, the Appellate Court held that, because “the defendant had nonfrivolous grounds for an appeal,” defense counsel’s failure to inform the defendant “of his statutory right to plead nolo contendere” constituted ineffective assistance of counsel in accord with this court’s holding in Ghant v. Commissioner of Correction, 255 Conn. 1, 9, 761 A.2d 740 (2000). States. Turner, supra, 67 Conn. App. 714. The Appellate Court remanded the case to the trial court “with direction to vacate the guilty plea, to accept the defendant’s plea of nolo contendere pursuant to § 54-94a and to render judgment thereon.” Id., 716. Additional facts will be presented as necessary.
On appeal to this court, the state claims that the Appellate Court improperly concluded that defense counsel had been ineffective for failing to consult with the defendant about the prospect of entering a conditional plea of nolo contendere under § 54-94a. Specifically, the state argues that, because the defendant was not in custody for Miranda purposes, any appeal from the trial court’s denial of his motion to suppress would have been frivolous. Thus, the state contends, because the defendant had no nonfrivolous grounds for an appeal, defense counsel was not ineffective for failing to consult with the defendant regarding whatever appellate rights § 54-94a would have preserved. We agree.11
[424]*424We first turn to a brief review of the law governing pleas of nolo contendere conditional on the right to appeal as set forth in § 54-94a and Practice Book § 61-6. Central to that review is the notion that, at the time of the trial court proceedings in the present case, a plea of nolo contendere conditioned on the defendant’s right to take an appeal was, unlike a guilty plea, subject to the determination of the trial court that its ruling on the motion at issue would “have a significant impact upon the disposition of the case in the trial court. ...” Practice Book § 61-6 (a) (2) (i); see footnote 4 of this opinion. In this connection, we note that § 54-94a was enacted in 1982 by No. 82-17 of the 1982 Public Acts and has been amended twice; once in 1988 by No. 88-19 of the 1988 Public Acts, and again in 2001 by No. 01-13 of the 2001 Public Acts. Practice Book § 61-6 was originally adopted in 1986 as § 4003, and although the rule was designed to implement the statute, it contains language slightly different from that used in § 54-94a.12 See footnotes 3 and 4 of this opinion. Because the defendant attempted to withdraw his guilty plea on June 14, 2000, we evaluate his claim in light of the statute and rule of practice as they existed as of that date.
By enacting § 54-94a, the “legislature in 1982 altered the broad waiver of constitutional rights implicit in a plea of guilty or nolo contendere .... Section 54-94a [425]*425is intended to promote judicial economy by allowing the parties to litigate a suppression or dismissal issue fully in the trial court, and thereafter allowing the defendant to obtain review of an adverse ruling without the parties’ or the court’s expending additional resources.” (Citations omitted; emphasis in original; internal quotation marks omitted.) State v. Piorkowski, 236 Conn. 388, 402, 672 A.2d 921 (1996). In 1985, this court interpreted § 54-94a strictly and directed trial courts “not [to] employ this procedural innovation except in situations plainly within [its] provisions . . . .” State v. Madera, 198 Conn. 92, 102, 503 A.2d 136 (1985). We noted, moreover, that “[t]he conditional plea is susceptible to abuse . . . unless its use is carefully limited to significant issues the determination of which on appeal is likely to be dispositive of the case.” (Emphasis added.) Id., 101.
For those policy reasons, Practice Book § 61-6, then § 4003, was adopted in 1986 and limited the scope of § 54-94a by stating, among other things, that a court should not accept the conditional nolo plea if the issue on appeal “would not have a significant impact upon the disposition of the case in the trial court.” (Emphasis added.) See State v. Piorkowski, supra, 236 Conn. 416 (“[t]he rule, designed to implement the statute, is more limited than the statute, and cannot be read to expand it”). In Piorkowski, however, we rejected the state’s contention that “ ‘significant impact’ ” was synonymous with “fully dispositive.” Id., 414-15. The state had argued in Piorkowski that, because Practice Book § 4003, now § 61-6, is patterned after rule 11 of the Federal Rules of Criminal Procedure, conditional pleas are available only “when the decision of the [reviewing] court . . . will dispose of the case either by allowing the [conviction] to stand or by such action as compelling dismissal of the indictment or suppressing essential evidence.” (Internal quotation marks omitted.) State v. Piorkowski, supra, 414. We disagreed, and held that [426]*426Practice Book § 4003, now § 61-6, imposed a less stringent standard than does rule 11, although we did not go on to define precisely that standard; rather, we merely stated that “the standard is looser than the state suggests.” Id., 420. Thus, at the time the defendant attempted to withdraw his guilty plea in the present case, after Piorkowski had been decided in 1996, but before § 54-94a was amended in 2001, atrial court could accept a conditional plea of nolo contendere so long as the issue on appeal would have a significant impact on the outcome of the case.13
We next turn to a brief review of the law governing claims of ineffective assistance of counsel. “Almost without exception, we have required that a claim of ineffective assistance of counsel must be raised by way of habeas corpus, rather than by direct appeal, because of the need for a full evidentiary record for such [a] claim.” (Internal quotation marks omitted.) State v. Vega, 259 Conn. 374, 385, 788 A.2d 1221, cert. denied, 537 U.S. 836, 123 S. Ct. 152, 154 L. Ed. 2d 56 (2002). “Absent the evidentiary hearing available in the collateral action, review in this court of the ineffective assistance claim is at best difficult and sometimes impossible. The evidentiary hearing provides the trial court with the evidence which is often necessary to evaluate the competency of the defense and the harmfulness of any incompetency.” (Emphasis in original; internal quotation marks omitted.) State v. Colton, 234 Conn. 683, 697, 663 A.2d 339 (1995), cert. denied, 516 U.S. 1140, 116 S. Ct. 972, 133 L. Ed. 2d 892 (1996).
Practice Book § 39-27 (4) provides an explicit exception to this general rule, however, and allows a defendant to withdraw a guilty plea after its acceptance if [427]*427the “plea resulted from the denial of effective assistance of counsel . . . .”14 We recognize, therefore, that the defendant’s claim of ineffective assistance of counsel is procedurally correct. Nevertheless, we are mindful that “on the rare occasions that we have addressed an ineffective assistance of counsel claim on direct appeal . . . we have limited our review” to situations in which “the record of the trial court’s allegedly improper action was adequate for review or the issue presented was a question of law, not one of fact requiring further evidentiary development.” State v. Crespo, 246 Conn. 665, 688, 718 A.2d 925 (1998), cert. denied, 525 U.S. 1125, 119 S. Ct. 911, 142 L. Ed. 2d 909 (1999). We point out, finally, that irrespective of whether a defendant proceeds by way of habeas coipus or direct appeal, our review is the same, and the burden remains on the defendant to produce an adequate record so that an appellate court may ascertain whether counsel’s performance was ineffective.
As the foregoing discussion indicates, in order to establish that the defendant’s prior counsel’s assistance was ineffective for failing to advise him of the availability of a conditional plea under § 54-94a, the defendant was required to establish, as a threshold factual matter, that the trial court would have accepted such a plea. This, in turn, would have required the defendant to establish that: (1) the victim would not have testified against him; and (2) the denial of his motion to suppress would have had a significant impact on the case. See footnote 10 of this opinion. Although we have doubts about those matters, we assume without deciding that the defendant, in fact, made those requisite showings [428]*428to the trial court.15 We conclude, nonetheless, that the defendant has failed to establish ineffective assistance of counsel in this case, because the defendant has failed to establish that he had nonfrivolous grounds to appeal from the trial court’s denial of his motion to suppress.
It is well settled that claims of ineffective assistance of counsel are governed by the United States Supreme Court’s two-pronged test set forth in Strickland v. Washington, 466 U.S. 668, 687, 104 S. Ct. 2052, 80 L. Ed. 2d 674 (1984). To prevail on a claim of ineffective assistance of counsel, a “defendant must show: (1) that counsel’s representation fell below an objective standard of reasonableness . . . and (2) that defense counsel’s deficient performance prejudiced the defense.” (Citation omitted.) Copas v. Commissioner of Correction, 234 Conn. 139, 154, 662 A.2d 718 (1995). In the realm of plea negotiations, in order to satisfy the second prong of Strickland, namely, proving actual harm, a defendant must show that, but for the counsel's “defi[429]*429cient performance, the outcome of the plea process would have been different.” Id., 156.
In the context of whether counsel has a duty to advise a defendant of his right to take an appeal, we are guided by Ghant v. Commissioner of Correction, supra, 255 Conn. 9, in which we held that “counsel has a constitutionally imposed duty to consult with the defendant about an appeal when there is reason to think either (1) that a rational defendant would want to appeal (for example, because there are nonfrivolous grounds for appeal), or (2) that this particular defendant reasonably demonstrated to counsel that he was interested in appealing.”16 (Internal quotation marks omitted.) The crux of the defendant’s claim is that, because of his counsel’s failure to advise him about the possibility of entering a conditional plea of nolo contendere, he was deprived of an opportunity to appeal from the trial court’s denial of his motion to suppress. By analogy then, because Ghant establishes when counsel has a duty to advise a defendant of his right to appeal, and because § 54-94a preserves, albeit in limited circumstances, a defendant’s right to appeal, Ghant similarly establishes when counsel has a duty to advise a defendant of the prospect of entering a plea under § 54-94a. In the context of the present case, therefore, the defendant must establish that there were nonfrivolous grounds for an appeal. This requires, moreover, that we define the standard for evaluating the frivolousness of an appeal in this procedural context.
We previously have defined the fiivolousness of an appeal in two contexts. First, in the context of whether to impose sanctions on an attorney for filing a frivolous appeal, we adopted the standard set forth in the official [430]*430commentary to rule 3.1 of the Rules of Professional Conduct, which states that an “action is frivolous . . . if the client desires to have the action taken primarily for the purpose of harassing or maliciously injuring a person or if the lawyer is unable either to make a good faith argument on the merits of the action taken or to support the action taken by a good faith argument for an extension, modification or reversal of existing law.” (Internal quotation marks omitted.) Texaco, Inc. v. Golart, 206 Conn. 454, 464, 538 A.2d 1017 (1988).
Second, in the context of evaluating whether a court has abused its discretion in denying requests for certification or permission to appeal, we repeatedly have applied the criteria set forth in Lozada v. Deeds, 498 U.S. 430, 432, 111 S. Ct. 860, 112 L. Ed. 2d 956 (1991). See, e.g., State v. James, 261 Conn. 395, 405-10, 802 A.2d 820 (2002) (denial of state’s request for permission to appeal from court’s ruling that police lacked probable cause to arrest); Seebeck v. State, 246 Conn. 514, 534, 717 A.2d 1161 (1998) (denial of request for certification to appeal from denial of petition for new trial); Simms v. Warden, 230 Conn. 608, 616, 646 A.2d 126 (1994) (denial of petition for certification to appeal from denial of writ of habeas corpus). “The Lozada inquiry was established in order to determine whether a petitioner has made the requisite ‘substantial showing of the denial of a federal right’ for the issuance of the required certificate of probable cause to appeal the denial of federal habeas relief .... In Lozada, the United States Supreme Court held that the required ‘substantial showing’ was made if the petitioner ‘demonstrate [s] that the issues are debatable among jurists of reason; that a court could resolve the issues [in a different manner]; or that the questions are adequate to deserve encouragement to proceed further! ... In the federal courts, the probable cause certificate serves the same policy goal as the granting of permission or certification to [431]*431appeal does in Connecticut, namely, to screen out frivolous appeals while still protecting the litigants’ statutory right to appellate review of adverse determinations.” (Citations omitted; emphasis added.) State v. James, supra, 404.
We first applied the Lozada criteria in evaluating the frivolousness of an appeal in Simms v. Warden, supra, 230 Conn. 616, in which we held that, in an appeal under General Statutes § 52-470 (b), which governs denials of requests for certification to appeal an adverse habeas corpus ruling, “a petitioner will establish a clear abuse of discretion ... if he can demonstrate the existence of one of the Lozada criteria . . . .” We reasoned that, because the legislature had intended to discourage frivolous appeals when it enacted § 52-470, a “habeas appeal that satisfies one of the Lozada criteria is not frivolous.” Id.
Following our reasoning in Simms, we subsequently held that the Lozada criteria was the proper standard with which to evaluate an abuse of discretion under General Statutes § 54-95, which governs requests for certification to appeal a denial of a petition for a new trial or writ of error. Seebeck v. State, supra, 246 Conn. 533-34. In a similar fashion, we held that the Lozada criteria was appropriate in evaluating an abuse of discretion in which the state sought permission to appeal under General Statutes § 54-96. State v. James, supra, 261 Conn. 405-10. Thus, Simms, Seebeck and James make clear that when a petitioner presents an issue on appeal that satisfies any one of the Lozada criteria, that petitioner ought to have that issue considered on appeal.
We see no reason why the Lozada criteria similarly should not be used for evaluating the frivolousness of an appeal on a defendant’s claim, whether by way of habeas corpus or direct appeal via Practice Book § 39-
[432]*43227 (4), that counsel was ineffective for failing to consult with him regarding an appeal. First, this situation is legally analogous to those in which we already have applied the Losada criteria. If a court has not abused its discretion in denying a petition for certification to appeal because the appeal is frivolous under Losada, then it logically follows that counsel would not be ineffective for failing to inform a defendant of his right to appeal if that appeal would be frivolous. Second, the Losada criteria, as previously discussed, is consistent with our policy of discouraging frivolous appeals, which is equally applicable in this context in which a defendant is seeking relief for counsel’s failure to consult about appellate rights. Finally, the standard of fiivolousness that was adopted in Texaco, Inc., which deals with attorney misconduct, is inapplicable to the present case because its purpose is to evaluate whether an attorney should be sanctioned, not whether a convicted criminal defendant has been denied an otherwise valid avenue to a judicial appellate remedy.
Bolstering our conclusion is the fashion in which we rejected the petitioner’s claims as frivolous in Ghant. Indeed, for each of the petitioner’s five claims in Ghant, we stated the claim, followed by the applicable well settled law, and upon an application of the law to the facts of the case, we concluded that each claim did “not constitute a nonfrivolous ground for appeal.” Ghant v. Commissioner of Correction, supra, 255 Conn. 11-17. In other words, we merely concluded that counsel’s performance could not have been ineffective as a matter of law because the petitioner failed to present any claims that established even a remote likelihood of success under those well settled rules of law. Thus, the standard used in Ghant very much resembled the Losada criteria, although we did not explicitly say so at the time.
[433]*433We are mindful that this standard allows counsel some discretion in whether to consult with a defendant about an appeal. Indeed, it presumes that counsel is aware of well settled law and may, in his or her best judgment, decide in which circumstances it is appropriate to pursue an appeal on behalf of his or her client. The opposite conclusion, however, would oblige attorneys to ignore well settled law and common sense in an effort to exhaust a defendant’s appellate remedies— all for the singular purpose of avoiding a later claim of ineffectiveness. The Losada set of criteria sets forth a desirable standard in this context, because it balances those situations in which a defendant has been unconstitutionally deprived of a right to present a colorable claim on appeal with those situations in which it is in a defendant’s ultimate best interest to end the proceedings sooner rather than later.
Thus, if a defendant can demonstrate either that: (1) the issue is debatable among jurists of reason; (2) a court could resolve the issue in a different manner; or (3) the question is adequate to proceed further, then the defendant’s appeal is not frivolous as a matter of law and, therefore, “counsel has a constitutionally imposed duty to consult with the defendant about an appeal” under Ghant. (Internal quotation marks omitted.) Id., 9. A defendant, therefore, may prevail on a claim of ineffective assistance of counsel under Ghant if he can satisfy any one of the Losada criteria. Once he has done so, he “must demonstrate that there is a reasonable probability that, but for counsel’s deficient failure to consult with him about an appeal, he would have timely appealed.” (Emphasis added; internal quotation marks omitted.) Id., 10.
We now turn, therefore, to the question of whether the defendant’s claim that his statements should have been suppressed because the police had failed to give him Miranda warnings was frivolous. The applicable [434]*434law is well settled. “Two threshold conditions must be satisfied in order to invoke the warnings constitutionally required by Miranda: (1) the defendant must have been in custody; and (2) the defendant must have been subjected to police interrogation. . . . [Although the circumstances of each case must certainly influence a determination of whether a suspect is in custody for purposes of receiving Miranda protection, the ultimate inquiry is simply whether there is a formal arrest or restraint on freedom of movement of the degree associated with a formal arrest.” (Citations omitted; internal quotation marks omitted.) State v. Atkinson, 235 Conn. 748, 757, 670 A.2d 276 (1996); see also New York v. Quarles, 467 U.S. 649, 665, 104 S. Ct. 2626, 81 L. Ed. 2d 550 (1984); Oregon v. Mathiason, 429 U.S. 492, 495, 97 S. Ct. 711, 50 L. Ed. 2d 711 (1977); State v. Pinder, 250 Conn. 385, 409, 736 A.2d 857 (1999). “A person is in custody only if, in view of all the surrounding circumstances, a reasonable person would have believed [that] he was not free to leave.” (Internal quotation marks omitted.) State v. Pinder, supra, 409, citing United States v. Mendenhall, 446 U.S. 544, 554, 100 S. Ct. 1870, 64 L. Ed. 2d 497 (1980). “Further, the United States Supreme Court has adopted an objective, reasonable person test for determining whether a defendant is in custody. . . . Thus, in determining whether Miranda rights are required, the only relevant inquiry is whether a reasonable person in the defendant’s position would believe that he or she was in police custody of the degree associated with a formal arrest.” (Citations omitted; emphasis added.) State v. DesLaurier, 230 Conn. 572, 577, 646 A.2d 108 (1994); State v. Atkinson, supra, 758; see also Stansbury v. California, 511 U.S. 318, 321, 114 S. Ct. 1526, 128 L. Ed. 2d 293 (1994).
The defendant bears the burden of proving that he was in custody for Miranda proposes. State v. Pinder, supra, 250 Conn. 409. Two discrete inquiries are essen[435]*435tial to determine custody: “first, what were the circumstances surrounding the interrogation; and second, given those circumstances, would a reasonable person have felt he or she was not at liberty to terminate the interrogation and leave.” (Internal quotation marks omitted.) Id., 410. The first inquiry is factual, and we will not overturn the trial court’s determination of the historical circumstances surrounding the defendant’s interrogation unless it is clearly erroneous. Id., 410-11. “The second inquiry, however, calls for application of the controlling legal standard to the historical facts.” (Internal quotation marks omitted.) Id., 410. The ultimate determination of whether a defendant was subjected to a custodial interrogation, therefore, “presents a mixed question of law and fact,” over which our review is de novo. (Internal quotation marks omitted.) Id.; see also State v. Johnson, 241 Conn. 702, 719, 699 A.2d 57 (1997) (“historical facts surrounding custody reviewed for clear error; ultimate determination of custody reviewed de novo”).
With those well settled principles in mind, we have reviewed the transcript of the defendant’s recorded police interview, as well as the transcripts of the suppression hearing and the trial court’s ruling thereon. We conclude that, contrary to the defendant’s assertion, the defendant’s interview with the police cannot, as a matter of law, be construed as a custodial interrogation for Miranda purposes.
The following additional facts, as revealed through the case file and transcripts, are necessary to resolve this appeal. At the defendant’s suppression hearing, the defendant testified in support of his motion, and McDaniel testified on behalf of the state. The defendant testified that, on the day after his father had received a telephone call from McDaniel, he voluntarily went to the police station accompanied by his father and aunt. He further testified that, upon his arrival at the police [436]*436station, McDaniel said that he needed to ask him a few questions concerning the “whole incident,” and thereafter, McDaniel accompanied the defendant to a room with a recording device. The defendant testified further that he had been told several times that he was free to leave and that he was not under arrest. The defendant testified, moreover, that McDaniel had not threatened him in any way. McDaniel testified that, while the defendant had been at the police station, he never had been in custody, and he never was placed under arrest. McDaniel further testified that after he had finished asking the defendant questions, the defendant left the police station with his father. An examination of the transcript of the defendant’s recorded interview corroborates the testimony of both the defendant and McDaniel. See footnote 6 of this opinion.
We note that neither party disputes the underlying facts surrounding the defendant’s interview. The parties’ sole disagreement regarding the defendant’s interrogation is whether he was “in custody” when he made his statements to police.
The defendant’s contention that he was entitled to Miranda warnings in the present case is foreclosed by such cases as Oregon v. Mathiason, supra, 429 U.S. 494—96, State v. Pinder, supra, 250 Conn. 412-13, and State v. Atkinson, supra, 235 Conn. 759-61. In those cases, each of the defendants’ claims that they were in custody failed because each voluntarily had gone to the police station and each had been free to leave at any time. In other words, because there had not been “a formal arrest or restraint on freedom of movement of the degree associated with a formal arrest,” the defendants in those cases, like the defendant in the present case, were not entitled to Miranda warnings. (Internal quotation marks omitted.) State v. Atkinson, supra, 757.
In Mathiason, for example, the defendant was the only suspect in a burglary investigation and he agreed
[437]*437to meet the investigating officer at the state patrol office to answer some questions. Oregon v. Mathiason, supra, 429 U.S. 493. The defendant was told that he was not under arrest and he was led to a closed office. Id. After being advised that he was believed to have been involved in the burglary, the defendant admitted that he had taken the property. Id. The officer then gave the defendant Miranda warnings and took a taped confession. Id., 493-94. At the end of the taped conversation, the defendant was told he was not yet under arrest, and he then left the police station. Id., 494. Noting that the defendant voluntarily had gone to the police station, that he had been told that he was not under arrest, and that he left the station after the interview, the United States Supreme Court held that Miranda warnings had not been required because the defendant had not been in custody “or otherwise deprived of his freedom of action in any significant way.” (Internal quotation marks omitted.) Id.
In Pinder, the defendant had agreed to take a polygraph test after police had become suspicious about inconsistencies in his previous interview. State v. Pinder, supra, 250 Conn. 392. The defendant had been told that he was not required to take the polygraph test and that he could leave at any time. Id., 394. We held that the defendant had not been in custody at any time during his questioning because he took the test of his own volition and he repeatedly was told that he was free to leave at any time. Id., 412-13.
Finally, in Atkinson, detectives investigating a murder questioned the defendant at the police station in a closed room about an unrelated robbery. State v. Atkinson, supra, 235 Conn. 753-54. When the questioning turned to the murder, however, the defendant was given Miranda warnings and later he implicated himself in the murder. Id., 754. The defendant moved to suppress his entire statement—the portions given [438]*438both before and after he had been given Miranda warnings—claiming that he had been in custody throughout the interrogation. Id., 755-56. We held that the defendant was never in custody. Id., 760-61. Noting that the defendant voluntarily had gone to the police station, that he had not been handcuffed or arrested, and that he had been free to leave at any time, we stated that “the concerns of Miranda are not implicated in this case.” Id., 760. Accordingly, we held “that a reasonable person in the defendant’s situation would not have believed that his movement was restricted to a degree that is associated with a formal arrest . . . .” Id., 760-61.
This court has stated several times, moreover, that it is realistic to assume “that a reasonable person would feel free to leave when that person was told repeatedly that he could do so.” State v. Pinder, supra, 250 Conn. 413; see, e.g., State v. Greenfield, 228 Conn. 62, 71 n.10, 634 A.2d 879 (1993) (“an important factor distinguishing a consensual encounter from a seizure is whether the police expressly informed the defendant that he was free to leave at the outset of the interview”); State v. Northrop, 213 Conn. 405, 415, 568 A.2d 439 (1990) (“[i]t is difficult to conceive of a ‘reasonable man’ who would not feel free to leave after having been told so many times and in so many different ways that he could”); see also State v. Lapointe, 237 Conn. 694, 726, 678 A.2d 942 (“[g]iven the defendant’s freedom of movement about the police station and the fact that he had been repeatedly told that he was free to leave, we conclude that the defendant was not in custody”), cert. denied, 519 U.S. 994, 117 S. Ct. 484, 136 L. Ed. 2d 378 (1996).
In the present case, the defendant voluntarily went to the police station. He was told several times that he was not under arrest. He was told several times that he was free to leave at any time, and, in fact, he did leave as soon as McDaniel had finished questioning him. [439]*439The defendant was not threatened in any way. Given that the present case is legally indistinguishable from those previously discussed, coupled with the clear state of the law in this area, we conclude that, as a matter of law, the defendant has failed to establish that he had nonfrivolous grounds for an appeal. The issue presented by the defendant is not debatable among jurists of reason, it could not reasonably have been resolved differently, and it does not raise questions deserving further appellate scrutiny. Accordingly, the defendant’s claim on appeal is frivolous because it does not satisfy any of the Lozada criteria. Because we have concluded that the defendant’s claim on appeal is frivolous, counsel was not required to consult with the defendant regarding a conditional plea of nolo contendere under § 54-94a. Thus, the defendant’s claim of ineffective assistance of counsel fails under Ghant.
The defendant argues, nonetheless, that, as the Appellate Court noted; State v. Turner, supra, 67 Conn. App. 714; when taking into account his youth and unfamiliarity with the legal system, a court could have inferred that the defendant was “in custody” because he had felt that he was not free to leave. We disagree.
As previously discussed, when determining whether a reasonable person would have felt that he or she was free to leave, courts are to apply an objective, rather than a subjective, standard. See State v. DesLaurier, supra, 230 Conn. 577. “[T]he initial determination of custody depends on the objective circumstances of the interrogation, not on the subjective views harbored by either the interrogating officers or the person being questioned.” (Emphasis added.) Stansbury v. California, supra, 511 U.S. 323. Thus, in the present case, it is irrelevant that the defendant may have been a novice to police questioning. His subjective beliefs about whether he was in fact free to leave have no bearing on whether he was in custody for Miranda purposes. [440]*440It is also irrelevant that the defendant was questioned under McDaniel’s assumption, based on the victim’s sworn statement, that he had committed the crime. “[TJhe only relevant inquiry is whether a reasonable person in the defendant’s position would believe that he or she was in police custody of the degree associated with a formal arrest.” (Emphasis added.) State v. Des-Laurier, supra, 577.
The defendant argues that an appellate court could determine that he was in custody based on the “confinement and the restrictive setting in which [the defendant] was interrogated.” We disagree.
The mere fact that the defendant’s interview took place behind closed doors at the police station does not entitle the defendant to Miranda warnings. Indeed, the interrogations in both Mathiason and Atkinson, both of which fell short of “custodial interrogations,” took place in almost factually identical conditions to those in the present case. As the United States Supreme Court noted in Mathiason, “a noncustodial situation is not converted to one in which Miranda applies simply because a reviewing court concludes that . . . the questioning took place in a ‘coercive environment.’ Any interview of one suspected of a crime by a police officer will have coercive aspects to it, simply by virtue of the fact that the police officer is part of a law enforcement system [that] may ultimately cause the suspect to be charged with a crime. But police officers are not required to administer Miranda warnings to everyone whom they question. Nor is the requirement of warnings to be imposed simply because the questioning takes place in the station house, or because the questioned person is one whom the police suspect. Miranda warnings are required only where there has been such a restriction on a person’s freedom as to render him ‘in custody.’ It was that sort of coercive environment to which Miranda by its terms was made applicable, and [441]*441to which it is limited.” (Emphasis in original.) Oregon v. Mathiason, supra, 429 U.S. 495.
It is important to note that our use of the Lozada criteria in this context does not imply that an appeal that is merely likely to be unsuccessful on the merits is necessary frivolous. On the contrary, we simply hold that, when the law is clear and well settled in a particular area, as it is in the present case, and the case would require only the application of that well settled law to undisputed or virtually undisputable facts, an appeal would be frivolous within the meaning of Ghant.
Finally, we are aware that it may seem paradoxical that we have concluded that the issue presented by the defendant was neither debatable among jurists of reason, nor reasonably could have been resolved differently; yet the Appellate Court came to a different conclusion. This is explainable, however, because the Appellate Court apparently applied a less stringent standard of frivolousness than that required by the Lozada criteria, which we had yet to apply in this context. The Appellate Court, moreover, improperly applied a subjective, rather than an objective, test for determining whether the defendant was in custody.17 We are confi[442]*442dent that, had the Appellate Court properly applied the [443]*443Lozada criteria and applicable Miranda principles to the present case, it likewise would have concluded that an appeal in the present case would have been frivolous.
The judgment of the Appellate Court is reversed and the case is remanded to that court with direction to affirm the trial court’s judgment of conviction.
In this opinion KATZ, PALMER and VERTEFEUILLE, Js., concurred.