10% mara-noia-extended-page-actions

Code Review | Mara Noia Extended Page Actions

WordPress plugin Mara Noia Extended Page Actions scored 10% from 54 tests.

About plugin

  • Plugin page: mara-noia-extende...
  • Plugin version: 1.8.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9.4
  • WordPress version: 5.8.1
  • First release: Mar 22, 2015
  • Latest release: Feb 12, 2018
  • Number of updates: 17
  • Update frequency: every 62.4 days
  • Top authors: maranoia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 561 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Warning in wp-content/plugins/mara-noia-extended-page-actions/maranoia.extended.page.actions.php+78
    Declaration of MaraNoia_page_sibling_list_walker::start_el(&$output, $page, $depth, $args, $current_page) should be compatible with Walker_Page::start_el(&$output, $page, $depth = 0, $args = Array, $current_page = 0)

Server metrics [RAM: ▼1.85MB] [CPU: ▼191.17ms] Passed 4 tests

This is a short check of server-side resources used by Mara Noia Extended Page Actions
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /1.78 ▼0.945.23 ▼23.15
Dashboard /wp-admin1.80 ▼1.257.06 ▼42.06
Posts /wp-admin/edit.php1.80 ▼1.314.90 ▼39.65
Add New Post /wp-admin/post-new.php1.80 ▼3.635.15 ▼653.39
Media Library /wp-admin/upload.php1.80 ▼1.205.25 ▼29.58

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Mara Noia Extended Page Actions
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10716.25 ▲1.0211.87 ▲1.0150.82 ▲1.29
Dashboard /wp-admin2,973 ▲426.01 ▲0.07150.26 ▼11.60112.79 ▼15.08
Posts /wp-admin/edit.php2,739 ▼02.69 ▼0.0073.41 ▲6.80100.12 ▲4.24
Add New Post /wp-admin/post-new.php1,683 ▲7918.79 ▼0.01385.68 ▼18.78113.93 ▼1.23
Media Library /wp-admin/upload.php1,807 ▼05.07 ▲0.05158.47 ▲4.88125.70 ▲0.05

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Warning in wp-content/plugins/mara-noia-extended-page-actions/maranoia.extended.page.actions.php+78
    Declaration of MaraNoia_page_sibling_list_walker::start_el(&$output, $page, $depth, $args, $current_page) should be compatible with Walker_Page::start_el(&$output, $page, $depth = 0, $args = Array, $current_page = 0)

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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/mara-noia-extended-page-actions/maranoia.extended.page.actions.php:18

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Donate link: Please fix this invalid url: ""
The official readme.txt might help

mara-noia-extended-page-actions/maranoia.extended.page.actions.php 92% from 13 tests

"Mara Noia Extended Page Actions" version 1.8.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("mara-noia-extended-page-actions.php" instead of "maranoia.extended.page.actions.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected111 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1261778
PO File17833

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity2.00
▷ Minimum method complexity2.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods00.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.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
There were not PNG files found in your plugin