10% create-my-apps

Code Review | Create my Apps

WordPress plugin Create my Apps scored 10% from 54 tests.

About plugin

  • Plugin page: create-my-apps
  • Plugin version: 1.2.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.8
  • WordPress version: 6.3.1
  • First release: Feb 15, 2017
  • Latest release: Jul 8, 2017
  • Number of updates: 5
  • Update frequency: every 27.2 days
  • Top authors: createmyapps (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,454 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • The plugin did not install without errors
    • > 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.01MB] [CPU: ▲2.44ms] Passed 4 tests

Server-side resources used by Create my Apps
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0442.79 ▲4.67
Dashboard /wp-admin3.31 ▲0.0144.87 ▲2.60
Posts /wp-admin/edit.php3.36 ▲0.0145.11 ▼0.30
Add New Post /wp-admin/post-new.php5.89 ▲0.0195.01 ▲3.65
Media Library /wp-admin/upload.php3.23 ▲0.0034.90 ▲3.80

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

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

Browser metrics Passed 4 tests

Create my Apps: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲1113.31 ▼0.214.61 ▲2.9540.21 ▼3.05
Dashboard /wp-admin2,203 ▼05.78 ▼0.1197.56 ▼10.9637.98 ▼6.06
Posts /wp-admin/edit.php2,086 ▼32.00 ▲0.0238.88 ▼0.2233.15 ▼2.09
Add New Post /wp-admin/post-new.php1,537 ▲2323.40 ▲5.79683.53 ▲80.1152.43 ▼7.37
Media Library /wp-admin/upload.php1,388 ▲34.18 ▼0.0397.19 ▲2.4045.94 ▲2.66

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 3× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/create-my-apps/app-creator.php:49
    • > PHP Fatal error
      Uncaught Error: Class 'App_Creator_Default' not found in wp-content/plugins/create-my-apps/models/posts.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'App_Creator_Default' not found in wp-content/plugins/create-my-apps/models/categories.php:8

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Tags: There are too many tags (88 tag instead of maximum 10)
The official readme.txt might help

create-my-apps/app-creator.php 92% from 13 tests

The principal PHP file in "Create my Apps" v. 1.2.5 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("create-my-apps.php" instead of "app-creator.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin168 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP55843168

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity6.75
▷ Minimum class complexity4.00
▷ Maximum class complexity10.00
Average method complexity3.56
▷ 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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin