90% app-log

Code Review | App Log

WordPress plugin App Log scored90%from 54 tests.

About plugin

  • Plugin page: app-log
  • Plugin version: 1.1.2
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.2-5.6
  • WordPress version: 6.3.1
  • First release: Aug 4, 2020
  • Latest release: Jan 12, 2021
  • Number of updates: 7
  • Update frequency: every 23.0 days
  • Top authors: pressmaninc (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /629 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.20ms] Passed 4 tests

An overview of server-side resources used by App Log
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.01 ▼5.12
Dashboard /wp-admin3.33 ▲0.0346.78 ▼7.97
Posts /wp-admin/edit.php3.38 ▲0.0249.86 ▲0.48
Add New Post /wp-admin/post-new.php5.91 ▲0.0279.76 ▼12.20
Media Library /wp-admin/upload.php3.25 ▲0.0240.32 ▲1.16
App Log /wp-admin/options-general.php?page=aplg_settings3.2127.02

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

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

Browser metrics Passed 4 tests

App Log: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,877 ▲9114.76 ▲0.411.93 ▼0.3741.73 ▼1.83
Dashboard /wp-admin2,261 ▲875.69 ▼0.0094.55 ▼18.0043.52 ▼10.78
Posts /wp-admin/edit.php2,106 ▲61.97 ▼0.0438.27 ▼2.9735.52 ▼2.02
Add New Post /wp-admin/post-new.php1,533 ▲723.25 ▼0.20660.11 ▼22.9659.79 ▼8.99
Media Library /wp-admin/upload.php1,406 ▲64.23 ▲0.02109.99 ▼0.4547.29 ▲0.30
App Log /wp-admin/options-general.php?page=aplg_settings8191.9928.6325.65

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

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
3 plugin tags: log, pressman, debug

app-log/app-log.php 92% from 13 tests

"App Log" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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 plugin569 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PO File1182151

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity13.40
▷ Minimum class complexity3.00
▷ Maximum class complexity35.00
Average method complexity3.14
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
▷ Static methods1034.48%
▷ Public methods2586.21%
▷ Protected methods00.00%
▷ Private methods413.79%
▷ Named functions8100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants6100.00%
▷ Public constants6100.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
No PNG images were found in this plugin