10% abcapp-creator

Code Review | ABC APP CREATOR

WordPress plugin ABC APP CREATOR scored10%from 54 tests.

About plugin

  • Plugin page: abcapp-creator
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.9
  • WordPress version: 6.3.1
  • First release: Jun 7, 2017
  • Latest release: Feb 1, 2018
  • Number of updates: 47
  • Update frequency: every 5.3 days
  • Top authors: abcapp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /8,245 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • The plugin cannot be installed
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'app_creator_rewrites' not found or invalid function name

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

A check of server-side resources used by ABC APP CREATOR
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0541.71 ▲0.14
Dashboard /wp-admin3.33 ▲0.0247.62 ▼5.50
Posts /wp-admin/edit.php3.38 ▲0.0247.69 ▼2.40
Add New Post /wp-admin/post-new.php5.91 ▲0.0289.33 ▼15.45
Media Library /wp-admin/upload.php3.25 ▲0.0237.44 ▼1.64

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for ABC APP CREATOR
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.72 ▲0.071.55 ▼0.5644.62 ▲0.70
Dashboard /wp-admin2,192 ▲155.55 ▼0.0883.31 ▼20.7338.79 ▼4.58
Posts /wp-admin/edit.php2,100 ▼01.95 ▼0.0235.14 ▼2.1433.36 ▼6.38
Add New Post /wp-admin/post-new.php1,536 ▲823.27 ▲0.22658.54 ▼2.6754.42 ▼7.37
Media Library /wp-admin/upload.php1,403 ▼04.31 ▲0.1397.95 ▼1.8143.24 ▲1.41

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-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

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
Please fix the following
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Class 'App_Creator_Default' not found in wp-content/plugins/abcapp-creator/models/posts.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/abcapp-creator/abcapp-creator.php:49
    • > PHP Fatal error
      Uncaught Error: Class 'App_Creator_Default' not found in wp-content/plugins/abcapp-creator/models/categories.php:8

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% 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 need to be fixed:
  • Tags: Too many tags (42 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7 in abcapp-creator/assets to your readme.txt
You can look at the official readme.txt

abcapp-creator/abcapp-creator.php Passed 13 tests

The main PHP file in "ABC APP CREATOR" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
43 characters long description:
Connect easily your app with your Wordpress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected176 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP55842176

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity7.25
▷ Minimum class complexity4.00
▷ Maximum class complexity10.00
Average method complexity3.78
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods666.67%
▷ Protected methods333.33%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
No PNG files were detected