Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.42ms] Passed 4 tests
Analyzing server-side resources used by Plugin Notes Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 44.37 ▲4.41 |
Dashboard /wp-admin | 3.41 ▲0.06 | 52.17 ▼13.26 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.67 ▼2.64 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 85.99 ▼20.19 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.96 ▼1.60 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_plugin_notes_plus |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
plugin_notes_plus_note_placement |
can_compress_scripts |
widget_recent-comments |
plugin_notes_plus_db_version |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Notes Plus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.48 ▲0.34 | 1.73 ▲0.14 | 41.99 ▼3.97 |
Dashboard /wp-admin | 2,202 ▲21 | 5.56 ▼0.15 | 82.66 ▼23.58 | 38.49 ▼10.54 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.04 ▲0.00 | 39.88 ▲0.95 | 33.40 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 20.91 ▼2.15 | 646.01 ▲22.94 | 55.13 ▲1.79 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.24 ▲0.02 | 96.43 ▼6.32 | 46.33 ▼0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_plugin_notes_plus
- Zombie WordPress options were found after uninstall: 8 options
- plugin_notes_plus_note_placement
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- plugin_notes_plus_db_version
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/plugin-notes-plus/admin/class-plugin-notes-plus-admin.php:323
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/plugin-notes-plus/admin/partials/plugin-note-markup.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: plugin notes, memo, plugins
plugin-notes-plus/plugin-notes-plus.php Passed 13 tests
"Plugin Notes Plus" version 1.2.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
31 characters long description:
Adds a column for plugin notes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected831 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 220 | 531 | 536 |
JavaScript | 2 | 95 | 35 | 223 |
CSS | 1 | 5 | 7 | 72 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 38 | |
▷ Static methods | 4 | 10.53% |
▷ Public methods | 32 | 84.21% |
▷ Protected methods | 2 | 5.26% |
▷ Private methods | 4 | 10.53% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin