56% aoringo-log-maker

Code Review | aoringo LOG maker

WordPress plugin aoringo LOG maker scored56%from 54 tests.

About plugin

  • Plugin page: aoringo-log-maker
  • Plugin version: 0.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.5
  • WordPress version: 6.3.1
  • First release: Nov 17, 2012
  • Latest release: Apr 18, 2013
  • Number of updates: 35
  • Update frequency: every 4.3 days
  • Top authors: aoringo12 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /13,013 total downloads

Benchmarks

Plugin footprint 65% 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.88MB] [CPU: ▼33.67ms] Passed 4 tests

An overview of server-side resources used by aoringo LOG maker
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0736.99 ▼1.81
Dashboard /wp-admin3.06 ▼0.2422.92 ▼23.07
Posts /wp-admin/edit.php3.06 ▼0.2924.83 ▼21.52
Add New Post /wp-admin/post-new.php3.06 ▼2.8223.69 ▼75.93
Media Library /wp-admin/upload.php3.06 ▼0.1619.96 ▼14.15
aoringo LOG makerの設定 /wp-admin/options-general.php?page=aoringo-log-maker/aoringo_log_maker.php3.0623.15

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 16 new options
New WordPress options
loglog_def_style
aoringolog_installed
loglog_kaimei
loglog_hatugen_color
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
loglog_hukidasi_color
loglog_def_mojiiro
...

Browser metrics Passed 4 tests

An overview of browser requirements for aoringo LOG maker
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.18 ▼1.571.78 ▲0.0241.95 ▼1.04
Dashboard /wp-admin2,210 ▲194.87 ▼0.04112.36 ▲8.3344.51 ▲1.31
Posts /wp-admin/edit.php2,096 ▲72.04 ▲0.0239.31 ▼0.1739.75 ▲3.50
Add New Post /wp-admin/post-new.php6,248 ▲4,73426.07 ▲8.61885.30 ▲230.1588.63 ▲43.30
Media Library /wp-admin/upload.php1,392 ▲14.21 ▼0.0295.96 ▼9.6147.53 ▲1.09
aoringo LOG makerの設定 /wp-admin/options-general.php?page=aoringo-log-maker/aoringo_log_maker.php1,1261.7730.9996.19

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • loglog_name_img
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=aoringo-log-maker/aoringo_log_maker.php
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=aoringo-log-maker/aoringo_log_maker.php
    • > Notice in wp-content/plugins/aoringo-log-maker/aoringo_log_maker.php+121
    Undefined index: posted

SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/aoringo-log-maker/aoringo_log_jikkou.php
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/aoringo-log-maker/uninstall.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aoringo-log-maker/aoringo_log_maker.php:10

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=aoringo-log-maker/aoringo_log_maker.php
    • > Network (severe)
    http://hogehoge/hoge.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Screenshots: Add an image for screenshot #1 (Screenshots)
You can look at the official readme.txt

aoringo-log-maker/aoringo_log_maker.php 92% from 13 tests

The entry point to "aoringo LOG maker" version 0.1.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("aoringo-log-maker.php" instead of "aoringo_log_maker.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin837 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP32654436
JavaScript13576235
CSS4518166

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.23
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.25MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
image/style1.png4.42KB2.56KB▼ 42.16%
image/style2.png3.63KB2.28KB▼ 37.27%
screenshot-1.png120.30KB45.83KB▼ 61.90%
farbtastic/mask.png1.97KB4.18KB0.00%
image/ringoname.png102.25KB32.14KB▼ 68.57%