Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.36MB] [CPU: ▲1.87ms] Passed 4 tests
This is a short check of server-side resources used by JAMP Notes (Just Another Memo Plugin)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 48.11 ▲2.26 |
Dashboard /wp-admin | 3.71 ▲0.36 | 54.42 ▼6.00 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 54.91 ▲4.57 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 105.70 ▲6.66 |
Media Library /wp-admin/upload.php | 3.60 ▲0.36 | 44.10 ▲8.72 |
Add New /wp-admin/post-new.php?post_type=jamp_note | 3.83 | 62.01 |
All Notes /wp-admin/edit.php?post_type=jamp_note | 3.64 | 46.31 |
JAMP Notes /wp-admin/options-general.php?page=jamp_options | 3.57 | 36.53 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for JAMP Notes (Just Another Memo Plugin)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲199 | 14.20 ▼0.39 | 14.12 ▲11.89 | 42.94 ▼1.66 |
Dashboard /wp-admin | 2,259 ▲88 | 4.92 ▼0.70 | 91.06 ▼8.48 | 37.65 ▼6.53 |
Posts /wp-admin/edit.php | 2,188 ▲91 | 2.31 ▲0.36 | 36.61 ▼0.01 | 33.76 ▼4.23 |
Add New Post /wp-admin/post-new.php | 1,599 ▲73 | 22.92 ▲0.10 | 676.13 ▲12.00 | 38.55 ▼15.38 |
Media Library /wp-admin/upload.php | 1,464 ▲67 | 4.49 ▲0.33 | 110.48 ▲4.93 | 45.48 ▼3.63 |
Add New /wp-admin/post-new.php?post_type=jamp_note | 2,619 | 7.96 | 167.02 | 62.43 |
All Notes /wp-admin/edit.php?post_type=jamp_note | 1,154 | 2.44 | 33.26 | 31.23 |
JAMP Notes /wp-admin/options-general.php?page=jamp_options | 971 | 1.92 | 29.12 | 27.42 |
Uninstaller [IO: ▲0.19MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attentionThis plugin does not fully uninstall, leaving 6 options in the database
- Uninstaller has failed for this plugin, leaving 30 files (0.19MB) in the plugin directory
- (new file) README.txt
- (new file) LICENSE.txt
- (new file) admin/index.php
- (new file) admin/js/jamp-admin.min.js
- (new file) admin/class-jamp-admin.php
- (new file) admin/class-jamp-options.php
- (new file) admin/css/jamp-admin.min.css
- (new file) admin/partials/jamp-admin-admin-bar.php
- (new file) admin/js/jamp-admin.js
- (new file) admin/css/jamp-admin.css
- ...
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/jamp-notes/admin/partials/jamp-admin-column-users.php
- > /wp-content/plugins/jamp-notes/admin/partials/jamp-admin-column.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_current_post_type() on null in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-meta-box-view-notes.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-options-page.php:13
- > PHP Notice
Undefined variable: column_name in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-column.php on line 14
- > PHP Notice
Undefined variable: column_name in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-column-users.php on line 13
- > PHP Notice
Undefined variable: column_name in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-column.php on line 143
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-meta-box.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-admin-bar.php:14
- > PHP Notice
Undefined variable: args in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-meta-box-view-notes.php on line 15
- > PHP Notice
Undefined variable: column_name in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-column.php on line 125
- > PHP Notice
Undefined variable: column_name in wp-content/plugins/jamp-notes/admin/partials/jamp-admin-column.php on line 134
- > 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 Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: notes, note, dashboard, memo
jamp-notes/jamp.php 85% from 13 tests
Analyzing the main PHP file in "JAMP Notes (Just Another Memo Plugin)" version 1.5.0
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jamp-notes.php" instead of "jamp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,685 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 674 | 988 | 1,797 |
CSS | 2 | 99 | 34 | 408 |
PO File | 1 | 104 | 161 | 267 |
JavaScript | 2 | 45 | 27 | 213 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 12 | 17.65% |
▷ Public methods | 54 | 79.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 20.59% |
Functions | 3 | |
▷ Named functions | 3 | 100.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 files were detected