Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.63ms] Passed 4 tests
This is a short check of server-side resources used by Easy Classes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 39.66 ▼2.55 |
Dashboard /wp-admin | 3.43 ▲0.13 | 59.32 ▲1.97 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.64 ▼0.15 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 88.78 ▼9.80 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 44.00 ▲5.42 |
Starting time /wp-admin/edit-tags.php?taxonomy=beginning&post_type=easyclass | 3.35 | 38.94 |
Ending time /wp-admin/edit-tags.php?taxonomy=ending&post_type=easyclass | 3.35 | 35.27 |
Day /wp-admin/edit-tags.php?taxonomy=day&post_type=easyclass | 3.35 | 37.10 |
Place /wp-admin/edit-tags.php?taxonomy=place&post_type=easyclass | 3.35 | 35.62 |
Classes /wp-admin/edit.php?post_type=easyclass | 3.40 | 36.19 |
Room /wp-admin/edit-tags.php?taxonomy=room&post_type=easyclass | 3.35 | 36.11 |
Teachers /wp-admin/edit.php?post_type=teachers | 3.40 | 39.65 |
Teacher /wp-admin/edit-tags.php?taxonomy=teacher&post_type=easyclass | 3.35 | 34.28 |
Subject /wp-admin/edit-tags.php?taxonomy=subject&post_type=easyclass | 3.35 | 34.62 |
Level /wp-admin/edit-tags.php?taxonomy=level&post_type=easyclass | 3.35 | 35.39 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Classes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲159 | 13.12 ▼1.23 | 2.54 ▲0.70 | 54.25 ▲8.16 |
Dashboard /wp-admin | 2,305 ▲99 | 5.81 ▲0.76 | 129.35 ▲15.36 | 75.06 ▲38.28 |
Posts /wp-admin/edit.php | 2,196 ▲93 | 2.02 ▼0.04 | 37.81 ▲1.66 | 34.18 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,762 ▲208 | 22.18 ▼1.35 | 696.29 ▲5.35 | 38.60 ▼34.83 |
Media Library /wp-admin/upload.php | 1,502 ▲102 | 4.24 ▲0.06 | 111.04 ▼1.16 | 78.12 ▲31.62 |
Starting time /wp-admin/edit-tags.php?taxonomy=beginning&post_type=easyclass | 1,376 | 2.15 | 30.88 | 37.79 |
Ending time /wp-admin/edit-tags.php?taxonomy=ending&post_type=easyclass | 1,373 | 2.15 | 28.44 | 34.68 |
Day /wp-admin/edit-tags.php?taxonomy=day&post_type=easyclass | 1,370 | 2.15 | 25.08 | 33.47 |
Place /wp-admin/edit-tags.php?taxonomy=place&post_type=easyclass | 1,373 | 2.15 | 26.26 | 36.75 |
Classes /wp-admin/edit.php?post_type=easyclass | 1,205 | 1.94 | 32.57 | 33.90 |
Room /wp-admin/edit-tags.php?taxonomy=room&post_type=easyclass | 1,373 | 2.15 | 25.81 | 33.27 |
Teachers /wp-admin/edit.php?post_type=teachers | 1,202 | 1.93 | 32.90 | 32.38 |
Teacher /wp-admin/edit-tags.php?taxonomy=teacher&post_type=easyclass | 1,373 | 2.15 | 27.36 | 31.36 |
Subject /wp-admin/edit-tags.php?taxonomy=subject&post_type=easyclass | 1,379 | 2.30 | 25.56 | 32.32 |
Level /wp-admin/edit-tags.php?taxonomy=level&post_type=easyclass | 1,370 | 2.15 | 25.55 | 33.94 |
Uninstaller [IO: ▲0.11MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall correctly, leaving 10 files (0.11MB) in the plugin directory
- (new file) languages/easyclasses-fr_FR.po
- (new file) images/schedule.png
- (new file) images/classes.png
- (new file) schedule.css
- (new file) languages/easyclasses-fr_FR.mo
- (new file) schedule.php
- (new file) images/teachers.png
- (new file) easy-classes.php
- (new file) uninstall.php
- (new file) readme.txt
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-classes/easy-classes.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
easy-classes/easy-classes.php 92% from 13 tests
The primary PHP file in "Easy Classes" version 1.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 detected1,498 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 83 | 125 | 1,162 |
PO File | 1 | 97 | 525 | 215 |
CSS | 1 | 20 | 0 | 121 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 10 | |
▷ Named functions | 10 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/classes.png | 0.91KB | 0.74KB | ▼ 17.98% |
images/schedule.png | 3.16KB | 0.42KB | ▼ 86.82% |
images/teachers.png | 0.90KB | 0.71KB | ▼ 21.24% |