87% aac-scoring

Code Review | AAC Scoring

WordPress plugin AAC Scoring scored 87% from 53 tests.

About plugin

  • Plugin page: aac-scoring
  • Plugin version:
  • PHP version: 7.4.16
  • WordPress version: 5.8.1
  • First release: Nov 27, 2015
  • Latest release: Feb 19, 2017
  • Number of updates: 36
  • Update frequency: every 12.4 days
  • Top authors: Texiwill (100%)

Code review

53 tests

User reviews

1 review

Install metrics

20+ active / 3,167 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼262.34ms] Passed 4 tests

A check of server-side resources used by AAC Scoring
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.32 ▲0.6031.11 ▲10.73
Dashboard /wp-admin3.11 ▲0.0650.41 ▲12.95
Posts /wp-admin/edit.php3.16 ▲0.0545.26 ▲3.90
Add New Post /wp-admin/post-new.php5.46 ▲0.0391.06 ▼1,057.61
Media Library /wp-admin/upload.php3.05 ▲0.0432.12 ▼6.36
AAC Scoring /wp-admin/options-general.php?page=aac-scoring-options3.0326.91

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for AAC Scoring
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,678 ▲9715.73 ▲0.207.82 ▼0.2753.26 ▲0.33
Dashboard /wp-admin2,938 ▲855.94 ▲0.09130.48 ▼31.09104.29 ▼1.21
Posts /wp-admin/edit.php2,711 ▲82.69 ▲0.0061.46 ▼2.0595.67 ▲9.08
Add New Post /wp-admin/post-new.php1,656 ▼19518.84 ▲1.04379.76 ▲13.24107.30 ▼2.41
Media Library /wp-admin/upload.php1,780 ▲85.00 ▼0.01144.64 ▼1.71108.74 ▼10.87
AAC Scoring /wp-admin/options-general.php?page=aac-scoring-options1,1882.0959.2666.57

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/aac-scoring/why.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aac-scoring/aac-scoring.php:196

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected


Plugin configuration 79% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
  • Donate link: Invalid url: ""
  • Screenshots: Add a description for screenshot #1 in aac-scoring/assets to your readme.txt
  • Requires at least: Invalid version format
You can take inspiration from this readme.txt

aac-scoring/aac-scoring.php 77% from 13 tests

The main PHP file in "AAC Scoring" ver. adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
  • Domain Path: The domain path must begin with a forward slash character ("/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin345 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1487.50%
▷ Anonymous functions212.50%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin