Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.90ms] Passed 4 tests
This is a short check of server-side resources used by ST Teachers List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.04 | 42.22 ▼2.69 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.62 ▼7.24 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.13 ▼5.15 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.17 ▼12.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 33.80 ▲1.00 |
Teachers /wp-admin/edit.php?post_type=teachers | 3.30 | 34.56 |
Add Teacher /wp-admin/post-new.php?post_type=teachers | 3.37 | 46.29 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for ST Teachers List
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.23 ▼1.16 | 1.77 ▼0.06 | 44.02 ▼5.33 |
Dashboard /wp-admin | 2,230 ▲42 | 5.82 ▲0.96 | 95.75 ▼18.22 | 39.37 ▼6.72 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.03 ▲0.05 | 37.64 ▲0.08 | 32.21 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,565 ▲46 | 18.31 ▼5.21 | 662.43 ▲14.07 | 64.34 ▲0.61 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.25 ▲0.07 | 96.44 ▼2.09 | 45.42 ▲0.85 |
Teachers /wp-admin/edit.php?post_type=teachers | 1,080 | 1.96 | 31.50 | 29.00 |
Add Teacher /wp-admin/post-new.php?post_type=teachers | 2,169 | 7.52 | 171.18 | 61.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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
Good news, no errors were detected
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
Please take a closer look at the following
- 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/softtech-teachers-list/teachers.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Contributors: The plugin contributors field is missing
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== softtech-teachers-list ===
)
softtech-teachers-list/teachers.php 92% from 13 tests
The main PHP file in "ST Teachers List" ver. 1.0 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:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("softtech-teachers-list.php" instead of "teachers.php")
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 plugin82 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 10 | 44 |
CSS | 1 | 4 | 0 | 38 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected