84% faster-appearance-menus

Code Review | Faster Appearance - Menus

WordPress plugin Faster Appearance - Menus scored84%from 54 tests.

About plugin

  • Plugin page: faster-appearance...
  • Plugin version: 0.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-3.6
  • WordPress version: 6.3.1
  • First release: Aug 19, 2013
  • Latest release: Aug 21, 2013
  • Number of updates: 5
  • Update frequency: every 0.4 days
  • Top authors: sevenspark (100%)

Code review

54 tests

User reviews

29 reviews

Install metrics

500+ active /7,993 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

A check of server-side resources used by Faster Appearance - Menus
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.80 ▼0.17
Dashboard /wp-admin3.31 ▲0.0047.99 ▲2.80
Posts /wp-admin/edit.php3.36 ▲0.0048.98 ▲3.13
Add New Post /wp-admin/post-new.php5.91 ▲0.0281.42 ▼6.45
Media Library /wp-admin/upload.php3.23 ▲0.0031.61 ▼2.86

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Faster Appearance - Menus
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.80 ▲0.551.89 ▲0.1446.05 ▲3.65
Dashboard /wp-admin2,206 ▲185.81 ▼0.09100.08 ▼1.4738.30 ▼6.62
Posts /wp-admin/edit.php2,092 ▼02.01 ▼0.0438.83 ▲3.6035.79 ▲1.48
Add New Post /wp-admin/post-new.php1,542 ▲1418.24 ▲0.10595.72 ▼17.2951.11 ▼7.48
Media Library /wp-admin/upload.php1,388 ▲34.30 ▲0.1394.47 ▼4.6242.71 ▲1.05

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please 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 plugins_url() in wp-content/plugins/faster-appearance-menus/faster-appearance-menus.php:14

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% 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
Attributes that require attention:
  • Screenshots: Please add an image for screenshot #1 (Faster Menu Management)
The official readme.txt might help

faster-appearance-menus/faster-appearance-menus.php Passed 13 tests

Analyzing the main PHP file in "Faster Appearance - Menus" version 0.1.1
106 characters long description:
Fix the bottleneck created by accessibility enhancements to the Appearance > Menus screen in WordPress 3.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin903 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1183121894
PHP114299

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png17.98KB6.06KB▼ 66.28%