100% turn-rank-math-faq-block-to-accordion

Code Review | Turn Rank Math FAQ Block to Accordion

WordPress plugin Turn Rank Math FAQ Block to Accordion scored 100% from 54 tests.

About plugin

  • Plugin page: turn-rank-math-fa...
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8.1
  • WordPress version: 5.8.1
  • First release: Dec 30, 2020
  • Latest release: Oct 4, 2021
  • Number of updates: 8
  • Update frequency: every 34.7 days
  • Top authors: yasir129 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active / 712 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼146.47ms] Passed 4 tests

This is a short check of server-side resources used by Turn Rank Math FAQ Block to Accordion
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1337.28 ▲9.96
Dashboard /wp-admin3.06 ▲0.0141.72 ▲0.38
Posts /wp-admin/edit.php3.11 ▲0.0139.13 ▼6.68
Add New Post /wp-admin/post-new.php5.42 ▼0.0183.22 ▼582.34
Media Library /wp-admin/upload.php3.01 ▲0.0034.03 ▲2.75

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Turn Rank Math FAQ Block to Accordion
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,812 ▲21616.28 ▲0.7413.61 ▲3.5846.18 ▼3.87
Dashboard /wp-admin2,973 ▲395.84 ▼0.09137.36 ▼11.09111.50 ▼6.35
Posts /wp-admin/edit.php2,739 ▼02.70 ▼0.0162.43 ▼2.0791.39 ▼2.14
Add New Post /wp-admin/post-new.php1,500 ▲218.58 ▼0.26356.75 ▼23.55107.02 ▼3.43
Media Library /wp-admin/upload.php1,807 ▲745.03 ▲0.01148.86 ▲1.07121.56 ▲0.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: schema, seo, accordion, readability, rank math...

turn-rank-math-faq-block-to-accordion/turn-rank-math-faq-block-to-accordion.php Passed 13 tests

"Turn Rank Math FAQ Block to Accordion" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
A plugin to turn Rank Math FAQ blocks into accordion easily.

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 detected103 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
CSS21055
JavaScript210035
PHP231113

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
No PNG images were found in this plugin