100% actionpress

Code Review | ActionPress

WordPress plugin ActionPress scored 100% from 54 tests.

About plugin

  • Plugin page: actionpress
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.5.2
  • WordPress version: 5.8.1
  • First release: May 24, 2016
  • Latest release: May 25, 2016
  • Number of updates: 8
  • Update frequency: every 0.1 days
  • Top authors: nickcousins (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,016 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

A check of server-side resources used by ActionPress
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1333.42 ▲11.29
Dashboard /wp-admin3.07 ▲0.0144.06 ▼2.09
Posts /wp-admin/edit.php3.13 ▲0.0144.68 ▲2.25
Add New Post /wp-admin/post-new.php5.43 ▼0.0087.49 ▼562.47
Media Library /wp-admin/upload.php3.02 ▲0.0132.49 ▲2.24

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by ActionPress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,705 ▲10915.96 ▲0.409.58 ▼0.1151.22 ▲2.38
Dashboard /wp-admin2,970 ▲365.90 ▼0.34132.82 ▼6.45110.72 ▼9.43
Posts /wp-admin/edit.php2,736 ▼32.72 ▼0.0065.42 ▲0.8586.83 ▼8.66
Add New Post /wp-admin/post-new.php1,716 ▲4417.52 ▼1.27365.75 ▼3.31120.42 ▲11.09
Media Library /wp-admin/upload.php1,807 ▼35.15 ▲0.15151.66 ▲10.51138.37 ▲22.01

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: read more link, more, readmore, read more, excerpt...

actionpress/actionpress.php 92% from 13 tests

"ActionPress" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected64 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.48
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 functions5100.00%
▷ Anonymous functions00.00%
▷ 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