Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.30ms] Passed 4 tests
This is a short check of server-side resources used by Material Admin Theme
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.24 ▼5.89 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.18 ▼16.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.20 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.74 ▼13.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.34 ▼0.71 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Material Admin Theme
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,786 ▲40 | 14.24 ▲0.30 | 1.72 ▼0.03 | 43.81 ▲3.13 |
Dashboard /wp-admin | 2,175 ▼5 | 5.58 ▼0.09 | 82.39 ▼9.73 | 40.26 ▼4.14 |
Posts /wp-admin/edit.php | 2,080 ▼20 | 2.02 ▲0.03 | 40.12 ▲1.66 | 38.19 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.01 ▼0.21 | 616.40 ▼49.22 | 55.19 ▼0.87 |
Media Library /wp-admin/upload.php | 1,380 ▼20 | 4.19 ▲0.03 | 98.43 ▼9.31 | 45.46 ▼1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 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/material-admin-theme/material-admin-theme.php:17
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
material-admin-theme/material-admin-theme.php Passed 13 tests
"Material Admin Theme" version 1.3.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
25 characters long description:
Clean, eye-pleasing theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin244 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 52 | 8 | 205 |
SVG | 1 | 2 | 3 | 32 |
PHP | 1 | 4 | 9 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.53MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 84.06KB | 23.84KB | ▼ 71.64% |
assets/screenshot-3.png | 21.24KB | 9.13KB | ▼ 57.00% |
assets/icon-256x256.png | 259.01KB | 0.96KB | ▼ 99.63% |
assets/icon-128x128.png | 66.85KB | 0.57KB | ▼ 99.15% |
assets/banner-772x250.png | 30.19KB | 12.63KB | ▼ 58.17% |