94% easy-post-note

Code Review | Easy Post Note

WordPress plugin Easy Post Note scored 94% from 53 tests.

About plugin

  • Plugin page: easy-post-note
  • Plugin version: 1.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-4.5.3
  • WordPress version: 5.8.1
  • First release: Dec 15, 2013
  • Latest release: Aug 5, 2016
  • Number of updates: 16
  • Update frequency: every 60.3 days
  • Top authors: arcticanaudio (100%)

Code review

53 tests

User reviews

2 reviews

Install metrics

40+ active / 1,408 total downloads


Plugin footprint Passed 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.03MB] [CPU: ▼277.63ms] Passed 4 tests

Server-side resources used by Easy Post Note
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1435.03 ▲14.21
Dashboard /wp-admin3.09 ▲0.0342.52 ▼32.17
Posts /wp-admin/edit.php3.14 ▲0.0342.08 ▼13.21
Add New Post /wp-admin/post-new.php5.46 ▲0.0391.98 ▼1,058.82
Media Library /wp-admin/upload.php3.03 ▲0.0235.02 ▼6.32
Easy Post Note /wp-admin/options-general.php?page=easy-post-note-settings3.0028.43

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Easy Post Note
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,660 ▲5415.93 ▲0.457.86 ▼0.8851.69 ▲5.97
Dashboard /wp-admin2,938 ▲885.92 ▲0.11134.50 ▼3.59105.33 ▲3.83
Posts /wp-admin/edit.php2,727 ▲242.68 ▼0.0064.62 ▼11.8987.49 ▼12.85
Add New Post /wp-admin/post-new.php1,684 ▲3318.95 ▲1.77370.58 ▲25.05103.30 ▼9.61
Media Library /wp-admin/upload.php1,786 ▲115.02 ▲0.02152.98 ▲10.44106.16 ▼6.79
Easy Post Note /wp-admin/options-general.php?page=easy-post-note-settings1,0352.0955.4165.04

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-post-note/plugin-options.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-post-note/plugin-options.php:15

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: post, note

easy-post-note/easy-post-note.php Passed 13 tests

"Easy Post Note" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
30 characters long description:
Lets you add a note to a post.

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
Success! There were no dangerous files found in this plugin152 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions9100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin