Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼151.14ms] Passed 4 tests
This is a short check of server-side resources used by A.T. Many themes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▲0.17 | 51.64 ▲17.03 |
Dashboard /wp-admin | 3.12 ▲0.07 | 44.80 ▼9.71 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 40.23 ▼11.72 |
Add New Post /wp-admin/post-new.php | 5.24 ▼0.20 | 88.01 ▼588.06 |
Media Library /wp-admin/upload.php | 3.15 ▲0.15 | 45.94 ▲4.95 |
A.T. many themes /wp-admin/options-general.php?page=at_theme_settings | 3.11 | 41.53 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: 5 new tables, no new options
New tables |
---|
wp_thema_expressions_settings |
wp_thema_page_settings |
wp_thema_main |
wp_thema_category_settings |
wp_thema_post_settings |
Browser metrics Passed 4 tests
A check of browser resources used by A.T. Many themes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,716 ▲120 | 15.98 ▲0.64 | 10.38 ▼1.47 | 53.02 ▼0.78 |
Dashboard /wp-admin | 2,994 ▲63 | 6.19 ▲0.14 | 164.45 ▲11.29 | 114.88 ▼1.46 |
Posts /wp-admin/edit.php | 2,766 ▲27 | 2.75 ▲0.04 | 78.22 ▲7.14 | 102.52 ▲3.42 |
Add New Post /wp-admin/post-new.php | 1,640 ▲25 | 21.16 ▼0.27 | 319.81 ▼24.37 | 143.79 ▲31.58 |
Media Library /wp-admin/upload.php | 1,834 ▲27 | 5.18 ▲0.15 | 172.99 ▲7.32 | 137.05 ▲14.49 |
A.T. many themes /wp-admin/options-general.php?page=at_theme_settings | 1,438 | 2.25 | 61.90 | 68.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=at_theme_settings
- > User notice in wp-includes/functions.php+5663
WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/at-many-themes/at-many-themes.php:29
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Very simple interface to start working.) image not found
at-many-themes/at-many-themes.php 92% from 13 tests
The entry point to "A.T. Many themes" version 1.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 182 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,141 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 143 | 79 | 994 |
JavaScript | 4 | 19 | 0 | 123 |
CSS | 1 | 2 | 0 | 24 |
PHP code Passed 2 tests
An overview of 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 | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 1 | 6.67% |
▷ Concrete classes | 14 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 2 | 2.47% |
▷ Public methods | 55 | 67.90% |
▷ Protected methods | 1 | 1.23% |
▷ Private methods | 25 | 30.86% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 14 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 14 | 100.00% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plus.png | 2.98KB | 2.63KB | ▼ 11.66% |
images/b_status.png | 0.15KB | 0.18KB | 0.00% |
screenshot-1.png | 55.65KB | 21.00KB | ▼ 62.27% |
images/minus.png | 2.31KB | 1.18KB | ▼ 48.86% |