Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.70ms] Passed 4 tests
An overview of server-side resources used by EduKit Notes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 42.73 ▼9.15 |
Dashboard /wp-admin | 3.34 ▼0.00 | 49.98 ▼17.85 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.16 ▲3.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 96.91 ▼0.31 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.10 ▲0.50 |
Add New Note /wp-admin/post-new.php?post_type=ek_notes | 3.30 | 50.60 |
All Notes /wp-admin/edit.php?post_type=ek_notes | 3.31 | 43.21 |
Settings /wp-admin/edit.php?post_type=ek_notes&page=ek-notes-settings | 3.30 | 31.96 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_ek_notes |
New WordPress options |
---|
widget_theysaidso_widget |
ek_notes_version |
widget_recent-posts |
theysaidso_admin_options |
ek-notes-autoAdd |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for EduKit Notes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 13.42 ▼0.96 | 7.99 ▲6.11 | 51.08 ▲4.37 |
Dashboard /wp-admin | 2,226 ▲46 | 5.67 ▼0.02 | 85.04 ▼3.63 | 39.79 ▼2.08 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 1.99 ▼0.05 | 39.64 ▼3.57 | 36.91 ▲3.62 |
Add New Post /wp-admin/post-new.php | 1,580 ▲49 | 18.35 ▼4.71 | 610.69 ▼65.33 | 54.19 ▲3.84 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.13 ▼0.09 | 103.65 ▲8.68 | 47.64 ▲3.06 |
Add New Note /wp-admin/post-new.php?post_type=ek_notes | 1,409 | 2.56 | 48.89 | 34.66 |
All Notes /wp-admin/edit.php?post_type=ek_notes | 1,109 | 1.93 | 30.29 | 35.11 |
Settings /wp-admin/edit.php?post_type=ek_notes&page=ek-notes-settings | 922 | 1.99 | 22.04 | 28.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_ek_notes
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- ek-notes-autoAdd
- db_upgraded
- ek_notes_version
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/edukit-notes/edukit-notes.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/edukit-notes/classes/class-database.php:19
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/edukit-notes/classes/class-database.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edukit-notes/classes/class-ajax.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edukit-notes/functions.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edukit-notes/classes/class-cpts.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in edukit-notes/assets to your readme.txt
edukit-notes/edukit-notes.php Passed 13 tests
Analyzing the main PHP file in "EduKit Notes" version 0.1
68 characters long description:
Allows students to create notes on specific pages, or all page types
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
There were no executable files found in this plugin679 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 303 | 103 | 555 |
CSS | 2 | 16 | 11 | 97 |
JavaScript | 1 | 13 | 2 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 6 | 20.69% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin