Patent ID: 7712079

Claim:
A program editing apparatus for splitting a program file of a processing object, comprising: a processor; a file storing unit storing a program file of an application logic of a processing object, the application logic being capable of mixedly describing text data, a server side script, and an access to an object encapsulating a logic and converted into an execution program on a server side; a user interface control unit accepting an input of a split object instruction which specifies a portion to be split off from the program file; an analysis unit determining an accompanying split portion which is split off together with the portion specified by the split object instruction to ensure that a split off portion performs the same action as it would have performed in the program file and that a remaining program file after split performs its remaining one or more actions properly; and a split execution unit splitting off the portion specified by the split object instruction and the accompanying split portion determined in the analysis unit from the program file, wherein the split execution unit creates a split off portion of the program file that is executable independently and a remaining portion of the program file that is the program file without at least the portion to be split off, wherein the analysis unit determines a portion to be copied from the program file before the split to a new program file created by the split and a portion to be cut away from the program file before the split and moved to the new program file, each of the potions being the accompany split portion, wherein the analysis unit copies a predetermined portion of the program file to the new program file created by the split in a case where each of the program files after the split performs its one or more actions properly even if the predetermined portion is copied to the new program file, and a portion other than the predetermined portion is required to be cut away from the program file because the predetermined portion is cut away from the program file, and wherein the analysis unit judges whether a plurality of portions having dependence related to data, if present, to be splittable.