10% findery-notes

Code Review | Findery Notes

WordPress plugin Findery Notes scored10%from 54 tests.

About plugin

  • Plugin page: findery-notes
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9.1
  • WordPress version: 6.3.1
  • First release: May 14, 2015
  • Latest release: May 15, 2015
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: benjah (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /568 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.444.34 ▼36.76
Dashboard /wp-admin2.05 ▼1.265.74 ▼45.65
Posts /wp-admin/edit.php2.05 ▼1.315.77 ▼44.65
Add New Post /wp-admin/post-new.php2.05 ▼3.844.91 ▼92.20
Media Library /wp-admin/upload.php2.05 ▼1.185.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.38 ▲0.111.62 ▼0.0535.85 ▼6.88
Dashboard /wp-admin2,192 ▲215.48 ▼0.0885.06 ▼3.1837.46 ▼5.55
Posts /wp-admin/edit.php2,103 ▲32.02 ▲0.0740.97 ▲4.0136.34 ▲2.81
Add New Post /wp-admin/post-new.php1,526 ▼223.63 ▲0.37669.52 ▲31.3550.28 ▼8.77
Media Library /wp-admin/upload.php1,400 ▲34.17 ▼0.1595.87 ▼0.8642.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

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.)
The official readme.txt is a good inspiration

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:
LanguageFilesBlank linesComment linesLines of code
PHP1813119

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 code0.08
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
screenshot-3.png118.26KB34.17KB▼ 71.10%
screenshot-2.png134.53KB37.87KB▼ 71.85%
screenshot-1.png122.56KB38.55KB▼ 68.55%