94% abbie-expander

Code Review | Abbie Expander

WordPress plugin Abbie Expander scored 94% from 54 tests.

About plugin

  • Plugin page: abbie-expander
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.0
  • WordPress version: 5.8.1
  • First release: Jul 27, 2015
  • Latest release: Jul 28, 2015
  • Number of updates: 2
  • Update frequency: every 1.5 days
  • Top authors: ryan.burnette (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 733 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼182.98ms] Passed 4 tests

A check of server-side resources used by Abbie Expander
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0127.18 ▲2.78
Dashboard /wp-admin3.07 ▲0.0032.88 ▼3.66
Posts /wp-admin/edit.php3.12 ▲0.0131.29 ▼2.02
Add New Post /wp-admin/post-new.php5.43 ▼0.0169.07 ▼726.95
Media Library /wp-admin/upload.php3.01 ▲0.0123.44 ▲0.71

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Abbie Expander
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,702 ▲10115.95 ▲0.199.93 ▲4.7978.24 ▲1.14
Dashboard /wp-admin2,933 ▲376.09 ▲0.02119.97 ▼10.69182.36 ▲7.01
Posts /wp-admin/edit.php2,740 ▼03.02 ▼0.2065.73 ▲0.33138.67 ▼3.06
Add New Post /wp-admin/post-new.php3,736 ▼7117.77 ▼1.28433.21 ▼45.90160.46 ▼3.21
Media Library /wp-admin/upload.php1,752 ▼05.51 ▼0.05138.77 ▼2.48184.69 ▲2.25

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
This plugin's uninstaller ran successfully

Smoke tests 75% from 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 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/abbie-expander/abbie-expander.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: refills, bourbon, expander

abbie-expander/abbie-expander.php Passed 13 tests

The main PHP file in "Abbie Expander" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
16 characters long description:
Abbie's Expander

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin59 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin