83% wp-app-studio

Code Review | Professional WordPress Plugin Development - WP App Studio

WordPress plugin Professional WordPress Plugin Development - WP App Studio scored 83% from 54 tests.

About plugin

  • Plugin page: wp-app-studio
  • Plugin version: 6.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.6.2
  • WordPress version: 5.9.2
  • First release: May 2, 2013
  • Latest release: Mar 5, 2021
  • Number of updates: 173
  • Update frequency: every 16.6 days
  • Top authors: emarket-design (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

100+ active / 38,331 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲2.92MB] [CPU: ▼280.01ms] 75% from 4 tests

A check of server-side resources used by Professional WordPress Plugin Development - WP App Studio
The following require your attention
  • CPU: Total CPU usage should be kept under 500.00ms (currently 585.27ms on /wp-admin/admin.php?page=wpas_store_page)
PageMemory (MB)CPU Time (ms)
Home /6.47 ▲2.9568.57 ▲9.89
Dashboard /wp-admin6.32 ▲2.9146.81 ▲13.19
Posts /wp-admin/edit.php6.61 ▲2.9649.99 ▲12.72
Add New Post /wp-admin/post-new.php9.84 ▲2.87105.71 ▼1,155.85
Media Library /wp-admin/upload.php6.26 ▲2.9738.33 ▲14.26
WP App Studio /wp-admin/admin.php?page=wpas_app_list6.3635.68
Add New App /wp-admin/admin.php?page=wpas_add_new_app6.2637.69
Getting Started /wp-admin/admin.php?page=wpas-getting-started6.271,753.10
Debug /wp-admin/admin.php?page=wpas_debug_page6.25588.69
Generate /wp-admin/admin.php?page=wpas_generate_page6.2233.52
Support /wp-admin/admin.php?page=wpas_support_page6.26585.27
Designs /wp-admin/admin.php?page=wpas_design_page6.37732.79
Licenses /wp-admin/admin.php?page=wpas_licenses_page6.2434.74
Plugins /wp-admin/admin.php?page=wpas_store_page6.28585.27

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 79 new files
Database: no new tables, 9 new options
New WordPress options
wpas_default_entities
wpas_data_version
wpas_app_56abb9f626d8f3.66818469
wpas_app_57d8acf259eec4.69622117
wpas_apps_submit
wpas_app_key_list
wpas_default_roles
wpas_licenses
wpas_version

Browser metrics Passed 4 tests

Checking browser requirements for Professional WordPress Plugin Development - WP App Studio
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,833 ▲7915.93 ▲0.286.38 ▼0.042.69 ▼0.14
Dashboard /wp-admin2,961 ▲1006.15 ▼0.03117.79 ▼18.72161.57 ▼3.42
Posts /wp-admin/edit.php2,756 ▲623.25 ▲0.0261.19 ▲0.26137.38 ▼0.95
Add New Post /wp-admin/post-new.php1,803 ▲11317.62 ▼3.31423.64 ▼2.62159.12 ▲0.99
Media Library /wp-admin/upload.php1,768 ▲705.54 ▲0.05133.83 ▼9.39187.24 ▼4.13
WP App Studio /wp-admin/admin.php?page=wpas_app_list1,4883.0758.31190.14
Add New App /wp-admin/admin.php?page=wpas_add_new_app2,0104.6684.67195.02
Getting Started /wp-admin/admin.php?page=wpas-getting-started2,0512.5358.59219.18
Debug /wp-admin/admin.php?page=wpas_debug_page1,1742.5355.19101.96
Generate /wp-admin/admin.php?page=wpas_generate_page1,4712.9756.05162.75
Support /wp-admin/admin.php?page=wpas_support_page1,6772.5157.95159.17
Designs /wp-admin/admin.php?page=wpas_design_page2,8402.5558.95141.32
Licenses /wp-admin/admin.php?page=wpas_licenses_page1,3982.6254.30155.53
Plugins /wp-admin/admin.php?page=wpas_store_page1,6442.5456.18120.32

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/admin.php?page=wpas_generate_page
    • > Warning in wp-content/plugins/wp-app-studio/lib/wpas_operations.php+239
    Illegal string offset 'edition'
    • > GET request to /wp-admin/admin.php?page=wpas_generate_page
    • > Notice in wp-content/plugins/wp-app-studio/lib/wpas_operations.php+239
    Uninitialized string offset: 0
    • > GET request to /wp-admin/admin.php?page=wpas_generate_page
    • > Warning in wp-content/plugins/wp-app-studio/lib/wpas_operations.php+239
    Invalid argument supplied for foreach()

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 5× 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/wp-app-studio/views/licenses.php:207
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-app-studio/views/connection_form.php:1375
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-app-studio/wpas_translate.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-app-studio/lib/wpas_operations.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-app-studio/lib/wpas_ajax_funcs.php:3

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/emddir-pro-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/sim-ent-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpticket-ent-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpcontact-pro-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/kcenter-ent-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/kcenter-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpee-pro-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpee-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/sim-com-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/spotlight-pro-arch-300x200.png - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpticket-com-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/sim-pro-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpcontact-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/youtubesc-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/spotlight-arch-300x200.png - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/support-ticket-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/youtubesc-pro-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/campusdir-pro-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/kcenter-pro-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/empdir-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_design_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpticket-pro-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/campusdir-arch-300x200.png - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/sim-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/wpticket-arch-320x200.gif - Failed to load resource: the server responded with a status of 404 ()
    • > GET request to /wp-admin/admin.php?page=wpas_store_page
    • > Network (severe)
    https://emdplugins.com/wp-content/uploads/images/logos/emddir-arch-300x200.gif - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: custom content, custom post types, custom taxonomies, relationship, custom fields

wp-app-studio/wp-app-studio.php Passed 13 tests

The main PHP file in "Professional WordPress Plugin Development - WP App Studio" ver. 6.0.1 adds more information about the plugin and also serves as the entry point for this plugin
138 characters long description:
Wp App Studio is a Professional WordPress Plugin Development Platform for building commercial grade WordPress plugins. No coding required.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin33,255 lines of code in 59 files:
LanguageFilesBlank linesComment linesLines of code
PHP2914820019,546
JavaScript202212186,646
PO File11,7372,1173,485
CSS825183,179
SVG100399

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
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%
Functions172
▷ Named functions172100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/share_icon.png1.75KB0.77KB▼ 55.85%
img/WpAppStudioLogo.png2.79KB1.88KB▼ 32.67%