Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/findery-notes/findery_notes.php+13
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼54.82ms] Passed 4 tests
This is a short check of server-side resources used by Findery Notes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.34 ▼36.76 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.74 ▼45.65 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.77 ▼44.65 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.91 ▼92.20 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.74 ▼27.38 |
Server storage [IO: ▲0.38MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_finderynotes |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Findery Notes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.38 ▲0.11 | 1.62 ▼0.05 | 35.85 ▼6.88 |
Dashboard /wp-admin | 2,192 ▲21 | 5.48 ▼0.08 | 85.06 ▼3.18 | 37.46 ▼5.55 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.07 | 40.97 ▲4.01 | 36.34 ▲2.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.63 ▲0.37 | 669.52 ▲31.35 | 50.28 ▼8.77 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.15 | 95.87 ▼0.86 | 42.22 ▼1.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/findery-notes/findery_notes.php+13
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_finderynotes
- db_upgraded
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/findery-notes/findery_notes.php:13
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== findery-notes ===
) - Screenshots: Add images for these screenshots: #1 (Widget setting screenshot.), #2 (Embedded widget screenshot as a list.), #3 (Embedded widget screenshot as a photo grid.)
findery-notes/findery_notes.php 92% from 13 tests
The main file in "Findery Notes" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("findery-notes.php" instead of "findery_notes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin119 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 13 | 119 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.37MB with 0.26MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 118.26KB | 34.17KB | ▼ 71.10% |
screenshot-2.png | 134.53KB | 37.87KB | ▼ 71.85% |
screenshot-1.png | 122.56KB | 38.55KB | ▼ 68.55% |