Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.32 ▲0.60 | 31.11 ▲10.73 |
Dashboard /wp-admin | 3.11 ▲0.06 | 50.41 ▲12.95 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 45.26 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 91.06 ▼1,057.61 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 32.12 ▼6.36 |
AAC Scoring /wp-admin/options-general.php?page=aac-scoring-options | 3.03 | 26.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲97 | 15.73 ▲0.20 | 7.82 ▼0.27 | 53.26 ▲0.33 |
Dashboard /wp-admin | 2,938 ▲85 | 5.94 ▲0.09 | 130.48 ▼31.09 | 104.29 ▼1.21 |
Posts /wp-admin/edit.php | 2,711 ▲8 | 2.69 ▲0.00 | 61.46 ▼2.05 | 95.67 ▲9.08 |
Add New Post /wp-admin/post-new.php | 1,656 ▼195 | 18.84 ▲1.04 | 379.76 ▲13.24 | 107.30 ▼2.41 |
Media Library /wp-admin/upload.php | 1,780 ▲8 | 5.00 ▼0.01 | 144.64 ▼1.71 | 108.74 ▼10.87 |
AAC Scoring /wp-admin/options-general.php?page=aac-scoring-options | 1,188 | 2.09 | 59.26 | 66.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
- > PHP Fatal error
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
Optimizations
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
aac-scoring/aac-scoring.php 77% from 13 tests
The main PHP file in "AAC Scoring" ver. 2.3.6.1 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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 63 | 91 | 282 |
CSS | 1 | 0 | 0 | 63 |
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 code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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