84% apollo13-framework-extensions

Code Review | Apollo13 Framework Extensions

WordPress plugin Apollo13 Framework Extensions scored84%from 54 tests.

About plugin

  • Plugin page: apollo13-framewor...
  • Plugin version: 1.9.2
  • PHP compatiblity: 5.4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.4
  • WordPress version: 6.3.1
  • First release: Apr 6, 2018
  • Latest release: Nov 9, 2023
  • Number of updates: 45
  • Update frequency: every 45.4 days
  • Top authors: apollo13themes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30,000+ active /404,761 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.83MB] [CPU: ▲0.55ms] Passed 4 tests

Server-side resources used by Apollo13 Framework Extensions
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /4.25 ▲0.7846.93 ▲5.27
Dashboard /wp-admin4.17 ▲0.8652.24 ▲3.40
Posts /wp-admin/edit.php4.23 ▲0.8749.68 ▼4.07
Add New Post /wp-admin/post-new.php6.91 ▲1.0286.48 ▼2.40
Media Library /wp-admin/upload.php4.02 ▲0.7941.45 ▲8.25
Add New /wp-admin/post-new.php?post_type=album6.9090.60
Albums /wp-admin/edit.php?post_type=album4.1542.34
People groups /wp-admin/edit-tags.php?taxonomy=group&post_type=people4.0242.08
Works /wp-admin/edit.php?post_type=work4.1539.77
Add New /wp-admin/post-new.php?post_type=people4.2351.64
Add New /wp-admin/post-new.php?post_type=work6.9090.90
People /wp-admin/edit.php?post_type=people4.1544.67
Albums Categories /wp-admin/edit-tags.php?taxonomy=genre&post_type=album4.0236.48
Works Categories /wp-admin/edit-tags.php?taxonomy=work_genre&post_type=work4.0233.07

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 60 new files
Database: no new tables, 14 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_recent-albums
widget_recent-posts
theysaidso_admin_options
widget_related-posts
widget_a13-shortcodes
widget_contact-info
widget_recent-works
widget_popular-posts
...

Browser metrics Passed 4 tests

An overview of browser requirements for Apollo13 Framework Extensions
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,892 ▲13014.58 ▲0.421.82 ▲0.1245.46 ▲6.23
Dashboard /wp-admin2,288 ▲1115.63 ▲0.0189.73 ▼0.5542.04 ▼1.90
Posts /wp-admin/edit.php2,196 ▲961.99 ▲0.0535.37 ▼6.1831.92 ▼5.58
Add New Post /wp-admin/post-new.php1,603 ▲7723.28 ▲0.25648.65 ▲12.2152.89 ▲9.42
Media Library /wp-admin/upload.php1,490 ▲874.20 ▲0.0498.92 ▲0.9240.79 ▲1.41
Add New /wp-admin/post-new.php?post_type=album6,26322.26882.7930.76
Albums /wp-admin/edit.php?post_type=album1,2191.9630.3632.77
People groups /wp-admin/edit-tags.php?taxonomy=group&post_type=people1,3362.1028.2929.32
Works /wp-admin/edit.php?post_type=work1,2191.9330.5432.81
Add New /wp-admin/post-new.php?post_type=people2,3627.80169.1365.24
Add New /wp-admin/post-new.php?post_type=work1,60316.93797.4232.21
People /wp-admin/edit.php?post_type=people1,1851.9132.9530.36
Albums Categories /wp-admin/edit-tags.php?taxonomy=genre&post_type=album1,3672.1330.1229.27
Works Categories /wp-admin/edit-tags.php?taxonomy=work_genre&post_type=work1,3672.1331.7731.95

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
  • This plugin does not fully uninstall, leaving 14 options in the database
    • db_upgraded
    • a13_force_to_flush
    • widget_recent-posts
    • widget_a13-social-icons
    • widget_popular-posts
    • widget_a13-shortcodes
    • widget_related-posts
    • widget_theysaidso_widget
    • widget_contact-info
    • 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
The smoke test was a success, however most plugin functionality was not tested

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
  • 54× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/apollo13-framework-extensions/settings/meta_boxes/processing.php:37
    • > PHP Warning
      require_once(A13FE_BASE_DIRshortcodes/post-list.php): failed to open stream: No such file or directory in wp-content/plugins/apollo13-framework-extensions/shortcodes/_all.php on line 3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/apollo13-framework-extensions/apollo13-framework-extensions.php:24
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apollo13-framework-extensions/settings/customizer/options.php:45
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/apollo13-framework-extensions/settings/meta_boxes/meta.php:2
    • > PHP Warning
      Use of undefined constant A13FE_BASE_DIR - assumed 'A13FE_BASE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/apollo13-framework-extensions/supports/wpbakery_pb_extensions/extend.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/apollo13-framework-extensions/supports/wpbakery_pb_extensions/filters.php:17
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/import.php' (include_path='.:/usr/share/php') in wp-content/plugins/apollo13-framework-extensions/design_importer/a13-wordpress-importer/class-apollo13-framework-import.php on line 9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apollo13-framework-extensions/supports/wpbakery_pb_extensions/map_config.php:560
    • > PHP Fatal error
      require_once(): Failed opening required 'A13FE_BASE_DIRsettings/customizer/options.php' (include_path='.:/usr/share/php') in wp-content/plugins/apollo13-framework-extensions/settings/_all.php on line 3

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 Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: shortcodes, custom post types, elementor widgets, wpbakery page builder support

apollo13-framework-extensions/apollo13-framework-extensions.php Passed 13 tests

The entry point to "Apollo13 Framework Extensions" version 1.9.2 is a PHP file that has certain tags in its header comment area
105 characters long description:
Adds custom post types, shortcodes and some features that are used in themes built on Apollo13 Framework.

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 plugin11,383 lines of code in 58 files:
LanguageFilesBlank linesComment linesLines of code
PHP531,6331,4007,534
JavaScript45143852,856
XML1716993

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity20.07
▷ Minimum class complexity1.00
▷ Maximum class complexity153.00
Average method complexity4.90
▷ Minimum method complexity1.00
▷ Maximum method complexity56.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes28
▷ Abstract classes00.00%
▷ Concrete classes28100.00%
▷ Final classes00.00%
Methods137
▷ Static methods32.19%
▷ Public methods12188.32%
▷ Protected methods118.03%
▷ Private methods53.65%
Functions109
▷ Named functions109100.00%
▷ Anonymous functions00.00%
Constants11
▷ Global constants1090.91%
▷ Class constants19.09%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin