Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5643
File class-feed.php is deprecated since version 4.7.0! Use fetch_feed() instead.
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.27ms] Passed 4 tests
Server-side resources used by Note to Gibbs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.01 ▲3.03 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.41 ▼0.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.21 ▼2.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.07 ▼15.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.53 ▼2.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Note to Gibbs: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.48 ▲0.19 | 1.74 ▼0.26 | 38.36 ▼3.22 |
Dashboard /wp-admin | 2,206 ▲15 | 5.84 ▲0.95 | 104.10 ▼0.50 | 39.06 ▼3.24 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.00 | 36.98 ▼3.30 | 34.10 ▼3.03 |
Add New Post /wp-admin/post-new.php | 1,514 ▼33 | 23.53 ▲5.26 | 652.56 ▲19.12 | 57.89 ▼2.24 |
Media Library /wp-admin/upload.php | 1,391 ▲12 | 4.21 ▼0.07 | 97.63 ▼4.51 | 45.36 ▲1.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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
Even though no errors were found, 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
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/note-to-gibbs/core/functions.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/note-to-gibbs/core/functions.php:46
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/note-to-gibbs/core/widget.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: pierre orourke, fun, note to gibbs, rss, quotes...
note-to-gibbs/note-to-gibbs.php 92% from 13 tests
Analyzing the main PHP file in "Note to Gibbs" version 1...
The following require your attention:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1...")
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
No dangerous file extensions were detected237 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 62 | 36 | 175 |
CSS | 1 | 9 | 0 | 62 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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