84% mt8-big-category-check-list

Code Review | Mt8 Big Category CheckList

WordPress plugin Mt8 Big Category CheckList scored 84% from 54 tests.

About plugin

  • Plugin page: mt8-big-category-...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-4.3
  • WordPress version: 6.3.1
  • First release: Sep 7, 2015
  • Latest release: Sep 7, 2015
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: mt8.biz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 1,007 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

An overview of server-side resources used by Mt8 Big Category CheckList
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.97 ▼7.81
Dashboard /wp-admin3.32 ▲0.0146.73 ▼1.41
Posts /wp-admin/edit.php3.37 ▲0.0148.77 ▼4.11
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.02 ▼3.57
Media Library /wp-admin/upload.php3.24 ▲0.0133.88 ▼1.74

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Mt8 Big Category CheckList
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.25 ▼1.281.70 ▼0.3146.12 ▲3.41
Dashboard /wp-admin2,209 ▲214.86 ▼0.01113.86 ▼1.7644.99 ▲5.84
Posts /wp-admin/edit.php2,089 ▼32.00 ▼0.0140.82 ▼3.9536.36 ▼0.04
Add New Post /wp-admin/post-new.php1,540 ▲2118.05 ▼5.19600.11 ▼35.5765.18 ▲13.05
Media Library /wp-admin/upload.php1,391 ▼04.17 ▼0.09100.40 ▼5.8044.83 ▲1.75

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Almost there! Just fix the following items
  • 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/mt8-big-category-check-list/mt8-big-category-check-list.php:30

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (Latest information)
The official readme.txt is a good inspiration

mt8-big-category-check-list/mt8-big-category-check-list.php Passed 13 tests

The primary PHP file in "Mt8 Big Category CheckList" version 1.0.0 is used by WordPress to initiate all plugin functionality
38 characters long description:
Big Category Check List On Post Pages.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin51 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1181228
PO File15723

PHP code Passed 2 tests

A brief analysis 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.17
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected