100% admin-sticky-notes

Code Review | ASN(Admin Sticky Notes)

WordPress plugin ASN(Admin Sticky Notes) scored 100% from 54 tests.

About plugin

  • Plugin page: admin-sticky-notes
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-4.9.1
  • WordPress version: 5.9.2
  • First release: Dec 29, 2017
  • Latest release: Jan 9, 2018
  • Number of updates: 8
  • Update frequency: every 1.4 days
  • Top authors: fgirach09 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 596 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼296.99ms] Passed 4 tests

Server-side resources used by ASN(Admin Sticky Notes)
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0156.40 ▼1.02
Dashboard /wp-admin3.43 ▲0.0234.75 ▼9.01
Posts /wp-admin/edit.php3.66 ▲0.0237.21 ▼1.72
Add New Post /wp-admin/post-new.php6.90 ▼0.0896.52 ▼1,176.21
Media Library /wp-admin/upload.php3.31 ▲0.0124.45 ▲1.42

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for ASN(Admin Sticky Notes)
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,842 ▲8716.51 ▲0.675.83 ▼0.502.82 ▼0.01
Dashboard /wp-admin2,939 ▲527.17 ▲0.56138.68 ▼6.26150.69 ▼15.96
Posts /wp-admin/edit.php2,715 ▲243.52 ▲0.0865.87 ▲2.46140.76 ▼4.56
Add New Post /wp-admin/post-new.php1,690 ▲2220.45 ▲1.01400.64 ▲20.34166.20 ▲9.60
Media Library /wp-admin/upload.php1,737 ▲396.11 ▲0.38125.76 ▼13.61186.85 ▲3.69

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: wordpress plugin, plugin, note, wordpress, notes...

admin-sticky-notes/admin_notes.php 92% from 13 tests

The principal PHP file in "ASN(Admin Sticky Notes)" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("admin-sticky-notes.php" instead of "admin_notes.php")

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
Good job! No executable or dangerous file extensions detected4,956 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.10
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 functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin