Skip to content
Axelerant/Work/CAST Inc
CAST Inc
Case Study · non profit

Auditing Learningdesigned.org For Performance, Security, Robustness, And Scalability

CAST Initiative — A Thorough Drupal Audit for a

01

Conducting A Holistic Audit For Performance, Security, Robustness, And Scalability

Learningdesigned.org from CAST is a professional learning platform that connects a community of educators with credentials and learning resources. CAST had previously worked with different tech partners to develop the platform in Drupal 7 and 8.

But the customer wanted to validate if they were being able to make the most of its paid modules, user roles and privileges, business feature releases, accessibility, and more. And as Drupal 8 end of life came closer, they also wanted to be sure if the website was ready for an upgrade.

A thorough audit by Axelerant would be the first step toward gearing Learningdesigned.org for resolving these challenges and scaling up.

CAST Inc website
CAST Inc · cast.org
02
The challenge

The customer was aware that their site had become outdated as D8 had reached the end of life. Since the upgrade to D9 was due, the customer wanted to validate the overall compatibility with the D9 version.

Three major areas needed to be airtight. And for that, we needed to validate certain core metrics.

  1. Security
    • Were there any known vulnerabilities in the dependencies, evidence of common errors such as SQL or JavaScript injection, plaintext storage or transmission of passwords, etc.?
    • Were they making appropriate use of the Drupal security and permissions model?
    • Was user data being handled with appropriate care?
  2. Robustness and Maintainability
    • Were the modules compatible and up to date? Did it make use of built-in Drupal capabilities where appropriate?
    • Was anything about the site structure going to cause difficulties in applying future Drupal updates?
    • Was the code organized, documented, consistent in style, and in accordance with the best practices?
    • Was the website compliant with WCAG accessibility standards?
  3. Performance and Scalability
    • Was the site set up so that pages can be served efficiently?
    • Was it making unnecessary demands on the database, either in how data is stored or in how it is retrieved?
    • Was the page load time acceptable, and is it making appropriate use of caching and other performance techniques?
    • Was the server infrastructure appropriate for the needs of this site?

Three major areas needed to be airtight. And for that, we needed to validate certain core metrics.

03
The solution

This called for an audit of the project for security, performance, and scalability.

This Drupal Audit Report included:

  • Risks
  • Observations
  • Recommendations

We also presented the audit report to the customer’s team and answered their follow-up questions.

04
The result

The result was a comprehensive and well-rounded Drupal Audit Report and recommendations that would help Learningdesigned.org optimize the platform’s performance, security, robustness, maintainability, and scalability.

The audit included not just the identification of issues but also resolution.

A few of these findings and recommendations are listed below:

  • Security updates and LMS distribution compatibility-related stats
  • High-level issues related to PHPCS (PHP Code Sniffer) and PHPMD (PHP Mess Detector) should be resolved for custom modules and themes
  • Automating the deployment process
  • Integrating the available Cypress tests into a CI/CD pipeline along with deployment to environments to save time and catch issues much earlier
  • Improvements in development workflow like peer review and raising PRs for each change
  • Having a lighter version of the LMS added instead of having unused modules added to the site to speed up CI and local setup time
  • Documenting the workflow and deployment process to ease the developer experience
  • Simplifying the local setup process with tools like Lando and DDEV
  • Configuring NewRelic to its full potential
  • Adhering to Drupal coding standards for custom modules’ code and quality; preventing security loopholes by adhering to it
  • Integrating the Dependabot for checking the updates

With a comprehensive audit and recommendation list in place, Learningdesigned.org is undergoing an update. Our team is proud to support them on their journey toward providing educators with the resources they need to support all learners.

Here’s what our Audit and Recommendations revolved around:

The report was broken down to include key observations, must-have recommendations, and some of the suggested next steps to fix the issues for the following areas:

  1. Code Quality
    • Reviewed custom Drupal modules and Themes for coding standards
    • Used tools like PHPMD and PHCS for static code analysis
  2. Performance and Security
    • Included Google Pagespeed insights, Lighthouse Audit Report, Server Stack Audit, and advanced performance improvement suggestions
  3. Accessibility
    • Tested the website for WCAG standards and found that the site was 82% compliant with standards.
    • Audited the website for Form Criteria, ARIA Attributes, Color Contrast, Semantic HTML, and more.

Project Highlights

Inside the build
04 highlights
Highlight · 0101/04

Thorough Initial Discovery

Axelerant’s Initial Discovery for Drupal audit

While all our projects begin with a discovery session, this one needed special care for the fact that there was no prior documentation.

So, we planned a thorough product walkthrough session with the customer to understand the backend and frontend workflow.

As for insight into the deployment process, we coordinated with the customer’s Development Team.

All this helped us understand the main audit areas we needed to focus on.

Highlight · 0202/04

Code Review

Axelerant’s Code Review for Drupal Audit

Our customer had been following complex processes. And in the absence of due documentation, we needed to follow certain technical reviews that yielded actionable information about these processes.

Here’s what we did:

  • Code review per Drupal standards and best practices.
  • Code review for the specific use cases (security, robustness, maintainability, and scalability) shared by the customer to get concrete analysis results.
Highlight · 0303/04

D9 Compatibility Test

Axelerant D9 Compatibility Test for Drupal Audit

Closing on to the D8 end of life, an upgrade to D9 was inevitable. But, we need to ensure that the website is ready for the upgrade.

To that effect, we headed with the Drupal 9 compatibility tests, including reviewing the existing code base for deprecated code and composer compatibility.

This would enable the customer to:

  • Make the most of paid modules such as Opigno LMS
  • Make the platform robust and maintainable
  • Adhere to the coding standards
  • Make the website scalable for a new product plan and enhancements
  • Achieve accessibility as per WCAG
Highlight · 0404/04

The Extra Mile—Additional Reviews

Additional reviews by Axelerant for Drupal Audit

Since the website was a D8 website, a Technical Drupal Audit was an absolute necessity. However, to ensure a high-performing website, we found it necessary to conduct a few more reviews.

Here are the reviews we conducted additionally:

  • Past Release Review
  • Opigno LMS Usage Review
  • Accessibility Review
  • New Relic Tool Review

These reviews ensured a well-rounded audit that took account of all platform functionalities.

Based on these reviews, we were able to give a holistic list of recommendations to our customer.

Talk to Foyer · grounded in this engagement

Ask anything about how we ran CAST Inc - or what it would look like for you.

Foyer is grounded in our own playbooks and the named work behind this record. Go deep on the methodology, the decisions, the team shape - or bring your own problem statement, use case, or intent and we'll talk it through against non-profit engagements.

Start a conversation
Streams live · grounded in named work
Or jump in with one of these
Brief us · A situation like CAST Inc

Have a similar shape on your plate? We'll come back with how we'd run yours.

The CAST Inc engagement moved operational metric moved. If your situation rhymes, send us the brief and a named delivery lead will respond inside one business day.

Brief form · Engagement

A short brief. A named partner replies within one business day.

Six quick fields. Nothing you would not tell a colleague in a hallway.

Replied to by a named partner within one business day.